pchickey requested alexcrichton for a review on PR #13500.
pchickey requested wasmtime-core-reviewers for a review on PR #13500.
pchickey opened PR #13500 from pchickey:pch/export_lookup to bytecodealliance:main:
The
wasmtime::component::Instancestruct had getter methods that acceptedimpl InstanceExportLookup, a pseudo-sealed trait (via#[doc(hidden)]) with impls for &str, String, or ComponentExportIndex.Conversely, the
wasmtime::component::Componentstruct hadget_exportandget_export_indexmethods which took argumentsinstance: Option<&ComponentExportIndex>andname: &str.This PR renames the trait to
ExportLookup, with the exact same impls, and modifies theComponent::get_export[_index]methods to takeimpl ExportLookupinstead of&strarguments.This is motivated by a follow-up PR that will add
wit_parser::ItemNameas another type that impls ExportIndex.
pchickey updated PR #13500.
pchickey updated PR #13500.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton added PR #13500 wasmtime: generalize InstanceExportLookup into ExportLookup to the merge queue.
github-merge-queue[bot] removed PR #13500 wasmtime: generalize InstanceExportLookup into ExportLookup from the merge queue.
pchickey updated PR #13500.
pchickey has enabled auto merge for PR #13500.
pchickey added PR #13500 wasmtime: generalize InstanceExportLookup into ExportLookup to the merge queue.
github-merge-queue[bot] removed PR #13500 wasmtime: generalize InstanceExportLookup into ExportLookup from the merge queue.
pchickey added PR #13500 wasmtime: generalize InstanceExportLookup into ExportLookup to the merge queue.
pchickey commented on PR #13500:
Last merge queue failure was because a mac ci runner hung
:check: pchickey merged PR #13500.
pchickey removed PR #13500 wasmtime: generalize InstanceExportLookup into ExportLookup from the merge queue.
Last updated: Jun 01 2026 at 09:49 UTC