Hi! Since https://github.com/bytecodealliance/wasmtime/pull/7029 landed, rust-analyzer just completely bails on anything resource related. At first I thought it was only failing on dynamically generated code from witbindgen, but I just realized it can't even resolve wasmtime::component::Resource
, which is just a regular plain code dependency.
image.png
Building via the command line works just fine.
Is this a known issue, or is there something I need to configure locally to make it work?
Another "Rust Analyser chokes" issue from before that resources PR: https://github.com/bytecodealliance/cargo-component/issues/139
(No idea if they're actually related; just linking here because the end user facing behaviour is similar.)
Maybe they're related. That issue mentions restarting rust-analyzer as a workaround, but that doesn't fix it for me.
Last updated: Dec 23 2024 at 13:07 UTC