mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-16 12:55:44 +02:00
cargo: add +nightly example (#8475)
The `+nightly` syntax is somewhat unusual and easy to forget. It composes nicely with many other cargo commands. None of the others have a +nightly example as yet.
This commit is contained in:
parent
25410d3fc0
commit
e5521801d6
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@
|
|||
|
||||
`cargo build`
|
||||
|
||||
- Build the rust project in the current directory using the nightly compiler:
|
||||
|
||||
`cargo +nightly build`
|
||||
|
||||
- Build using a specific number of threads (default is the number of CPU cores):
|
||||
|
||||
`cargo build --jobs {{number_of_threads}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue