Skip to content

Commit 904bb5a

Browse files
krasimirggtshepang
authored andcommitted
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 ```
1 parent 03113ba commit 904bb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/building/how-to-build-and-run.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ For example, if your host platform is `x86_64-unknown-linux-gnu`
293293
and your cross-compilation target is `wasm32-wasi`, you can build with:
294294

295295
```bash
296-
./x build --target x86_64-unknown-linux-gnu --target wasm32-wasi
296+
./x build --target x86_64-unknown-linux-gnu,wasm32-wasi
297297
```
298298

299299
Note that if you want the resulting compiler to be able to build crates that

0 commit comments

Comments
 (0)