[Pkg-rust-maintainers] Bug#979665: Please package libstd-rust-dev-emscripten
Matt Corallo
cerihr at bluematt.me
Sat Jan 9 21:16:01 GMT 2021
Package: src:rustc
Version: 1.48.0+dfsg1-2
Due to issues with the way rustc interacts with LLVM-wasm [1], building rust packages with
--target=wasm-unknown-{wasi,unknown} is not practical if any C code is to be used in the same binary (which is common).
Instead, wasm-unknown-emscripten is the only option, however not librust-std is packaged for emscripten. rustup's
emscripten is broken on debian testing due to them shipping their own LLVM, so that is also not a practical solution for
most users wishing to link C and rust code in any context, let alone WASM.
[1] https://github.com/rustwasm/team/issues/291
More information about the Pkg-rust-maintainers
mailing list