What is the default value of target-cpu if no -C target-cpu= is passed to rustc? Is it native, generic, something else?
It should probably be documented around here:
|
## target-cpu |
|
|
|
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: |
|
|
|
* `native` can be passed to use the processor of the host machine. |
|
* `generic` refers to an LLVM target with minimal features but modern tuning. |
What is the default value of
target-cpuif no-C target-cpu=is passed torustc? Is itnative,generic, something else?It should probably be documented around here:
rust/src/doc/rustc/src/codegen-options/index.md
Lines 572 to 580 in 1151ea6