diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 38248013557..90459090ced 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -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 = (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 = (Vec::new(), parse_comma_list, [UNTRACKED], "Allow incompatible target modifiers in dependency crates (comma separated list)"), // tidy-alphabetical-end