update comment regarding TargetOptions.features
This commit is contained in:
parent
1a1cc050d8
commit
5c0dfc6182
1 changed files with 4 additions and 3 deletions
|
@ -2097,9 +2097,10 @@ pub struct TargetOptions {
|
||||||
/// Default CPU to pass to LLVM. Corresponds to `llc -mcpu=$cpu`. Defaults
|
/// Default CPU to pass to LLVM. Corresponds to `llc -mcpu=$cpu`. Defaults
|
||||||
/// to "generic".
|
/// to "generic".
|
||||||
pub cpu: StaticCow<str>,
|
pub cpu: StaticCow<str>,
|
||||||
/// Default target features to pass to LLVM. These features will *always* be
|
/// Default target features to pass to LLVM. These features overwrite
|
||||||
/// passed, and cannot be disabled even via `-C`. Corresponds to `llc
|
/// `-Ctarget-cpu` but can be overwritten with `-Ctarget-features`.
|
||||||
/// -mattr=$features`.
|
/// Corresponds to `llc -mattr=$features`.
|
||||||
|
/// Note that these are LLVM feature names, not Rust feature names!
|
||||||
pub features: StaticCow<str>,
|
pub features: StaticCow<str>,
|
||||||
/// Direct or use GOT indirect to reference external data symbols
|
/// Direct or use GOT indirect to reference external data symbols
|
||||||
pub direct_access_external_data: Option<bool>,
|
pub direct_access_external_data: Option<bool>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue