Update how-to-build-and-run.md
Trying out the old example command gave me: ``` error: the argument '--target <TARGET>' cannot be used multiple times ```
This commit is contained in:
parent
03113babc5
commit
904bb5aa7b
|
|
@ -293,7 +293,7 @@ For example, if your host platform is `x86_64-unknown-linux-gnu`
|
||||||
and your cross-compilation target is `wasm32-wasi`, you can build with:
|
and your cross-compilation target is `wasm32-wasi`, you can build with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./x build --target x86_64-unknown-linux-gnu --target wasm32-wasi
|
./x build --target x86_64-unknown-linux-gnu,wasm32-wasi
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that if you want the resulting compiler to be able to build crates that
|
Note that if you want the resulting compiler to be able to build crates that
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue