--print target-cpus shows default target cpu, updated docs
This commit is contained in:
parent
eb7a743421
commit
ea17aa9141
3 changed files with 18 additions and 4 deletions
|
|
@ -574,7 +574,8 @@ change in the future.
|
|||
This instructs `rustc` to generate code specifically for a particular processor.
|
||||
|
||||
You can run `rustc --print target-cpus` to see the valid options to pass
|
||||
here. Each target has a default base CPU. Special values include:
|
||||
and the default target CPU for the current buid target.
|
||||
Each target has a default base CPU. Special values include:
|
||||
|
||||
* `native` can be passed to use the processor of the host machine.
|
||||
* `generic` refers to an LLVM target with minimal features but modern tuning.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue