FYI, we now have the libstd-rust-dev-wasm32 package, which includes support for
the wasm32-unknown-unknown and wasm32-wasi targets.
--
Sdrager,
Blair Noctis
pgpTBzcIRD08H.pgp
Description: OpenPGP digital signature
I'm not exactly an expert on the subject, but my understanding roughly matches yours. wasi is newer and not yet 100%
feature complete, but once it is my understanding is that it should/will be a much better replacement for emscripten.
Matt
On 6/15/21 16:36, Ximin Luo wrote:
Thanks for the upda
Thanks for the update.
Is there much point supporting rust emscripten at all? Apart from this
C-linking thing that is now apparently fixed, what is the actual advantage (or
even, point) of it?
>From what I understand from [1] it seems that emscripten does for C what
>wasm32-wasi and/or web-sys
This is no longer the case. As of https://github.com/rust-lang/rust/pull/79998 (rustc 1.51) you can now link C and rust
code with the wasm32-wasi target.
On 1/9/21 16:16, Matt Corallo wrote:
Package: src:rustc
Version: 1.48.0+dfsg1-2
Due to issues with the way rustc interacts with LLVM-wasm [1
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 o
5 matches
Mail list logo