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
error[E0658]: using an imported functionas entry point `main` is experimental
--> /Users/yamamoto/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-component-ld-0.5.5/src/main.rs:1:5
|
1 | use wasm_component_ld::main;| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #28937 <https://github.com/rust-lang/rust/issues/28937> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `wasm-component-ld` (bin "wasm-component-ld") due to 1 previous error
error: failed to compile `wasm-component-ld v0.5.5`, intermediate artifacts can be found at `/var/folders/74/hw1sphgx0lv63q6pq_n5grw00000gn/T/cargo-installJIGQGF`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
Yes this is a toolchain error where the Rust toolchain you're using is too old. Once bytecodealliance/wasm-component-ld#36 gets published you'll get a better first-class error message when the toolchain is too old.
yamt
added a commit
to yamt/wasi-sdk
that referenced
this issue
Jul 18, 2024
i saw the following error while doing "cmake --build build/toolchain --target dist".
i guess rust/cargo requirements should be documented in https://github.com/WebAssembly/wasi-sdk?tab=readme-ov-file#requirements.
The text was updated successfully, but these errors were encountered: