Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2335,10 +2335,12 @@ options! {
parse_symbol_mangling_version, [TRACKED],
"which mangling version to use for symbol names ('legacy', 'v0' (default), or 'hashed')"),
target_cpu: Option<String> = (None, parse_opt_string, [TRACKED] { TARGET_MODIFIER: TargetCpu },
"select target processor (`rustc --print target-cpus` for details)"),
"select target processor (`rustc --print target-cpus` for details) \
The resulting binary must only be executed on CPUs that have all the features \
of the given CPU."),
target_feature: String = (String::new(), parse_target_feature, [TRACKED],
"target specific attributes. (`rustc --print target-features` for details). \
This feature is unsafe."),
"target-specific attributes (`rustc --print target-features` for details). \
The resulting binary must only be executed on CPUs that have all the given features."),
unsafe_allow_abi_mismatch: Vec<String> = (Vec::new(), parse_comma_list, [UNTRACKED],
"Allow incompatible target modifiers in dependency crates (comma separated list)"),
// tidy-alphabetical-end
Expand Down
Loading