-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the default value of target-cpu
#110647
Comments
I believe it is documented there where it says "Each target has a default base CPU.". Every target has a different default
|
The default rustc target is host and therefor the default
|
No, |
O, gotcha. Would it make more sense for @rustbot claim |
It might be reasonable to add a note next to the default CPU in the
You can get the default cpu today on nightly by running |
Added default target cpu to `--print target-cpus` output and updated docs Added default target cpu info as requested in issue rust-lang#110647 and noted the new output in the documentation
Addressed in #110876. |
What is the default value of
target-cpu
if 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
The text was updated successfully, but these errors were encountered: