Closed raymundovr closed 1 year ago
You may need to update to the Rust nightly toolchain I believe? This definitely sounds like Rust toolchain setup to me.
Hi @guybedford,
I've just updated my nightly toolchain and the error persists
❯ rustup show
Default host: aarch64-apple-darwin
rustup home: /Users/r/.rustup
installed toolchains
--------------------
stable-x86_64-apple-darwin (default)
nightly-aarch64-apple-darwin
nightly-x86_64-apple-darwin
active toolchain
----------------
nightly-aarch64-apple-darwin (directory override for '/Users/r/Experimentos/componentize/runner')
rustc 1.69.0-nightly (44cfafe2f 2023-03-03)
Perhaps you need to make the nightly toolchain the default as it is applying to dependency builds, I'm not sure.
Also make sure you have the wasm32-unknown-unknown
and wasm32-wasi
targets installed as well.
I was able to get past this issue by using the exact same wasmtime
version as specified by the host
crate here
I'll make sure to include the revision in the next toolchain upgrade PR.
Thanks @guybedford. I did follow @jianghong advice, however I ran into another error. I'll just wait for those revisions.
Sure, the next update is just waiting on some WASI adapter work, will hopefully be able to update later this week.
The latest release now includes the revision. Please just let me know if you have any further issues here.
Hi,
I've successfully executed the example with node, now I'm trying to run it with Rust, however I'm getting the following
Where
runner
is my local project.I've been checking the repos and seen that preview2-prototyping has only one tag, how would you suggest to resolve this?
Thank you!