File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
compiler/rustc_target/src/spec Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2097,9 +2097,10 @@ pub struct TargetOptions {
20972097 /// Default CPU to pass to LLVM. Corresponds to `llc -mcpu=$cpu`. Defaults
20982098 /// to "generic".
20992099 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!
21032104 pub features : StaticCow < str > ,
21042105 /// Direct or use GOT indirect to reference external data symbols
21052106 pub direct_access_external_data : Option < bool > ,
You can’t perform that action at this time.
0 commit comments