File tree 1 file changed +4
-3
lines changed
compiler/rustc_target/src/spec
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2097,9 +2097,10 @@ pub struct TargetOptions {
2097
2097
/// Default CPU to pass to LLVM. Corresponds to `llc -mcpu=$cpu`. Defaults
2098
2098
/// to "generic".
2099
2099
pub cpu : StaticCow < str > ,
2100
- /// Default target features to pass to LLVM. These features will *always* be
2101
- /// passed, and cannot be disabled even via `-C`. Corresponds to `llc
2102
- /// -mattr=$features`.
2100
+ /// Default target features to pass to LLVM. These features overwrite
2101
+ /// `-Ctarget-cpu` but can be overwritten with `-Ctarget-features`.
2102
+ /// Corresponds to `llc -mattr=$features`.
2103
+ /// Note that these are LLVM feature names, not Rust feature names!
2103
2104
pub features : StaticCow < str > ,
2104
2105
/// Direct or use GOT indirect to reference external data symbols
2105
2106
pub direct_access_external_data : Option < bool > ,
You can’t perform that action at this time.
0 commit comments