amiyatulu opened issue #6983:
Wasmtime doesn't work in yew
It gives error:
error: failed to run custom build command for `cranelift-codegen v0.99.1` Caused by: process didn't exit successfully: `/home/amiya/Documents/workspace/mastodon/mastolearn/target/debug/build/cranelift-codegen-e40b7bea58046d12/build-script-build` (exit status: 101) --- stderr thread 'main' panicked at 'error when identifying target: "no supported isa found for arch `wasm32`"', /home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cranelift-codegen-0.99.1/build.rs:45:53 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error[E0583]: file not found for module `sys` --> /home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.3/src/lib.rs:26:1 | 26 | mod sys; | ^^^^^^^^ | = help: to create the module `sys`, create file "/home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.3/src/sys.rs" or "/home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.3/src/sys/mod.rs"
bjorn3 commented on issue #6983:
Wasmtime can't be compiled to webassembly. You will have to use eg the web-sys crate to interface with the native wasm support of browsers if you are running the wasm module in the browser. See also https://github.com/bytecodealliance/wasmtime/issues/6504
amiyatulu commented on issue #6983:
Ok got it. Thanks.
alexcrichton closed issue #6983:
Wasmtime doesn't work in yew
It gives error:
error: failed to run custom build command for `cranelift-codegen v0.99.1` Caused by: process didn't exit successfully: `/home/amiya/Documents/workspace/mastodon/mastolearn/target/debug/build/cranelift-codegen-e40b7bea58046d12/build-script-build` (exit status: 101) --- stderr thread 'main' panicked at 'error when identifying target: "no supported isa found for arch `wasm32`"', /home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cranelift-codegen-0.99.1/build.rs:45:53 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error[E0583]: file not found for module `sys` --> /home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.3/src/lib.rs:26:1 | 26 | mod sys; | ^^^^^^^^ | = help: to create the module `sys`, create file "/home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.3/src/sys.rs" or "/home/amiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/errno-0.3.3/src/sys/mod.rs"
Last updated: Dec 23 2024 at 12:05 UTC