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: Nov 22 2024 at 17:03 UTC