Skip to content

Commit 6094cb5

Browse files
authored
Rollup merge of rust-lang#118438 - AkhilTThomas:patch-1, r=JohnTitor
Update nto-qnx.md x.py does not support specifying multiple `--target` keywords. The targets must be specified comma separated. Error: `error: the argument '--target <TARGET>' cannot be used multiple times`
2 parents 1e8ecec + e4121c5 commit 6094cb5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: src/doc/rustc/src/platform-support/nto-qnx.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,8 @@ export build_env='
121121

122122
env $build_env \
123123
./x.py build \
124-
--target aarch64-unknown-nto-qnx710 \
125-
--target x86_64-pc-nto-qnx710 \
126-
--target x86_64-unknown-linux-gnu \
127-
rustc library/core library/alloc
124+
--target aarch64-unknown-nto-qnx710,x86_64-pc-nto-qnx710,x86_64-unknown-linux-gnu \
125+
rustc library/core library/alloc library/std
128126
```
129127

130128
## Running the Rust test suite

0 commit comments

Comments
 (0)