You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I'm very newbies in Rust. I tried to follow this installation steps but always got these errors (error[E0433] and error[E0425])
This is my environment
error[E0425]: cannot find function wasm_bindgen_initialize in this scope
--> /home/fu4d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs:77:22
|
77 | let module = wasm_bindgen_initialize( memory, table, &alloc, &free );
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0425, E0433.
For more information about an error, try rustc --explain E0425.
error: could not compile stdweb (lib) due to 2 previous errors; 4712 warnings emitted
warning: build failed, waiting for other jobs to finish...
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed
Caused by: failed to execute cargo build: exited with exit status: 101
full command: cd "/mnt/d/project/rew2/webapp.rs/frontend" && "cargo" "build" "--lib" "--release" "--target" "wasm32-unknown-unknown"
make: *** [Makefile:49: build-frontend] Error 1`
Could someone give me suggestion what I have to do to resolve this issue? thank you
The text was updated successfully, but these errors were encountered:
Hi everyone, I'm very newbies in Rust. I tried to follow this installation steps but always got these errors (error[E0433] and error[E0425])
This is my environment
I already run cargo clean, cargo update and make all instructions until Compiling yew-router v0.16.0 step I got these errors
`error[E0433]: failed to resolve: unresolved import
--> /home/fu4d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs:67:32
|
67 | alloc: &Closure< Fn( usize ) -> *mut u8 >,
| ^ unresolved import
error[E0425]: cannot find function
wasm_bindgen_initialize
in this scope--> /home/fu4d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stdweb-0.4.20/src/webcore/ffi/wasm_bindgen.rs:77:22
|
77 | let module = wasm_bindgen_initialize( memory, table, &alloc, &free );
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0425, E0433.
For more information about an error, try
rustc --explain E0425
.error: could not compile
stdweb
(lib) due to 2 previous errors; 4712 warnings emittedwarning: build failed, waiting for other jobs to finish...
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed
Caused by: failed to execute
cargo build
: exited with exit status: 101full command: cd "/mnt/d/project/rew2/webapp.rs/frontend" && "cargo" "build" "--lib" "--release" "--target" "wasm32-unknown-unknown"
make: *** [Makefile:49: build-frontend] Error 1`
Could someone give me suggestion what I have to do to resolve this issue? thank you
The text was updated successfully, but these errors were encountered: