Confusing documentation for wasm32-wasip1-threads #126857
Open
Description
Location
https://doc.rust-lang.org/rustc/platform-support/wasm32-wasip1-threads.html#building-the-target
Summary
The section seems to suggest to add
[target.wasm32-wasip1-threads]
wasi-root = ".../wasi-libc/sysroot"
to use with cargo build -Zbuild-std
in a crate, but doing so results in the following error:
error: expected a table, but found a string for `target.wasm32-wasip1-threads.wasi-root` .../.cargo/config.toml
Activity