From 33e89c2b6a22c35f3ede68441d3a9070b2ca0ea7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Mon, 27 Nov 2023 14:54:23 +0100 Subject: [PATCH] Update how-to-build-and-run.md Trying out the old example command gave me: ``` error: the argument '--target ' cannot be used multiple times ``` --- src/building/how-to-build-and-run.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/building/how-to-build-and-run.md b/src/building/how-to-build-and-run.md index 1012e94fd..253a94956 100644 --- a/src/building/how-to-build-and-run.md +++ b/src/building/how-to-build-and-run.md @@ -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