Skip to content

Commit

Permalink
Rollup merge of #118438 - AkhilTThomas:patch-1, r=JohnTitor
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
matthiaskrgr authored Nov 29, 2023
2 parents 1e8ecec + e4121c5 commit 6094cb5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/doc/rustc/src/platform-support/nto-qnx.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ export build_env='

env $build_env \
./x.py build \
--target aarch64-unknown-nto-qnx710 \
--target x86_64-pc-nto-qnx710 \
--target x86_64-unknown-linux-gnu \
rustc library/core library/alloc
--target aarch64-unknown-nto-qnx710,x86_64-pc-nto-qnx710,x86_64-unknown-linux-gnu \
rustc library/core library/alloc library/std
```

## Running the Rust test suite
Expand Down

0 comments on commit 6094cb5

Please sign in to comment.