mirror of
https://github.com/bytedream/litbwraw.git
synced 2025-05-09 20:25:13 +02:00
add toolchain information on the setup page
This commit is contained in:
parent
eaff1217b5
commit
4855199f52
@ -4,6 +4,11 @@ Before we can start developing, a few prerequisites must be fulfilled.
|
|||||||
|
|
||||||
## The Rust toolchain
|
## The Rust toolchain
|
||||||
|
|
||||||
|
Because Lua relies on some libc functions that aren't available in bare-bones WebAssembly (aka `wasm32-unknown-unknown`), the `wasm32-unknown-emscripten` toolchain is used, which provides a custom libc implementation.
|
||||||
|
The downside of this toolchain is the compatability with the existing Rust WebAssembly ecosystem.
|
||||||
|
Some crates that state to have WebAssembly support, are only supporting `wasm32-unknown-unknown` which might lead to some compatability problems.
|
||||||
|
|
||||||
|
To add the toolchain via rustup, use:
|
||||||
```shell
|
```shell
|
||||||
rustup target add wasm32-unknown-emscripten
|
rustup target add wasm32-unknown-emscripten
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user