diff options
| author | James Dietz <jamesthespeedy@gmail.com> | 2023-04-26 21:11:14 -0400 |
|---|---|---|
| committer | James Dietz <jamesthespeedy@gmail.com> | 2023-05-04 20:29:38 -0400 |
| commit | ea17aa9141cde9f26ec09b423ca2efe8aa08cc33 (patch) | |
| tree | fe23ced53325da8542c689b238c254822508df22 /src/doc/rustc | |
| parent | eb7a7434215dd9d4b7cc18746ad1d0e531c25325 (diff) | |
| download | rust-ea17aa9141cde9f26ec09b423ca2efe8aa08cc33.tar.gz rust-ea17aa9141cde9f26ec09b423ca2efe8aa08cc33.zip | |
`--print target-cpus` shows default target cpu, updated docs
Diffstat (limited to 'src/doc/rustc')
| -rw-r--r-- | src/doc/rustc/src/codegen-options/index.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/rustc/src/codegen-options/index.md b/src/doc/rustc/src/codegen-options/index.md index d7c6a884fc8..e2b859e705d 100644 --- a/src/doc/rustc/src/codegen-options/index.md +++ b/src/doc/rustc/src/codegen-options/index.md @@ -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. |
