Closed pchickey closed 3 weeks ago
Ah this is something I should have dealt with before publishing. There's some follow-up work to https://github.com/bytecodealliance/wasm-tools/pull/1577 to improve world selection, so let me try to get that in today to update to that. Otherwise wit_component::resolve_world_from_name
is the rough equivalent of what to do but I'd like to change that too.
Lets wait to upgrade until 211 is out.
@alexcrichton I don't think that Resolve::select_world has an obvious way to work anymore - how do we select the default packageid when multiple packages can be defined? I used get(0) but this is an arbitrary choice. This comes up in the upgrade of wit-bindgen as well.