Skip to content

Commit

Permalink
Update how-to-build-and-run.md
Browse files Browse the repository at this point in the history
Trying out the old example command gave me:
```
error: the argument '--target <TARGET>' cannot be used multiple times
```
  • Loading branch information
krasimirgg authored and tshepang committed Nov 28, 2023
1 parent 03113ba commit 904bb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/building/how-to-build-and-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```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
Expand Down

0 comments on commit 904bb5a

Please sign in to comment.