小编Ama*_*rma的帖子

错误[E0463]:在为 wasm32-unknown-unknown 构建 Rust 项目时找不到“core”的包

我收到以下错误消息:

error[E0463]: can't find crate for `core`
  |
  = note: the `wasm32-unknown-unknown` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if`

To learn more, run the command again with --verbose.
Run Code Online (Sandbox Code Playgroud)

当我运行这个命令时:

cargo build --target wasm32-unknown-unknown
Run Code Online (Sandbox Code Playgroud)

compilation rust rust-cargo webassembly wasm-bindgen

9
推荐指数
1
解决办法
9727
查看次数