-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run wasmtime component (Error: No such file or directory (os error 2)) #10291
Comments
Here are some details of my system/setup that might help with the diagnosis: $ rustc --version
rustc 1.87.0-nightly (f8a913b13 2025-02-23) $ cargo component --version
cargo-component-component 0.20.0 $ wasmtime --version
wasmtime 30.0.1 $ uname -a
Darwin Kernel Version 24.3.0: X86_64 The |
Does the |
Yes, the |
Thanks for the report! (and 👋) I think the problem here is that When removing
which is expected in that |
Its not that far off but I haven't had the time or energy to get it over the finish line. If someone else wants to pick it up, ping me on the PR or zulip #10054 |
Thanks for the reply @bjorn3, @pchickey. This is super helpful and appreciated. wasip1/wasip2 Error: No such file or directory (os error 2) Invoke Functionality cd /Users/tpmccallum
git clone https://github.com/bytecodealliance/wasmtime.git
cd wasmtime
git checkout main
git pull origin main
git checkout pch/invoke_wave
git merge main
cargo clean
cargo build --release I then tried to run the component and got the following result (hopefully useful feedback for the continuation of the work on #10054): tpmccallum@192-168-1-17 compress % /Users/tpmccallum/wasmtime/target/release/wasmtime run --invoke compress target/wasm32-wasip1/debug/compress.wasm
Error: failed to run main module `target/wasm32-wasip1/debug/compress.wasm`
Caused by:
0: parsing invoke "compress"
1: unexpected end of input at 8..8 |
I am compiling using the following command:
But when I use wasmtime I get an error:
I put the source code and config in a repo so you can see everything. Super stumped on this one, would appreciate some assistance.
https://github.com/tpmccallum/testing_components/blob/main/README.md
The text was updated successfully, but these errors were encountered: