Rollup merge of #119590 - ChrisDenton:cfg-target-abi, r=Nilstrieb
Stabilize `cfg_target_abi` This stabilizes the `cfg` option called `target_abi`: ```rust #[cfg(target_abi = "eabihf")] ``` Tracking issue: #80970 fixes #78791 resolves #80970
This commit is contained in:
commit
e13f454874
13 changed files with 33 additions and 98 deletions
|
@ -8,8 +8,7 @@ pub fn target() -> Target {
|
|||
arch: "arm".into(),
|
||||
options: TargetOptions {
|
||||
abi: "eabihf".into(),
|
||||
// FIXME: change env to "gnu" when cfg_target_abi becomes stable
|
||||
env: "gnueabihf".into(),
|
||||
env: "gnu".into(),
|
||||
features: "+v6,+vfp2,-d32".into(),
|
||||
max_atomic_width: Some(64),
|
||||
mcount: "\u{1}__gnu_mcount_nc".into(),
|
||||
|
|
|
@ -8,8 +8,6 @@ pub fn target() -> Target {
|
|||
arch: "arm".into(),
|
||||
options: TargetOptions {
|
||||
abi: "eabihf".into(),
|
||||
// FIXME: remove env when cfg_target_abi becomes stable
|
||||
env: "eabihf".into(),
|
||||
features: "+v6,+vfp2,-d32".into(),
|
||||
max_atomic_width: Some(64),
|
||||
mcount: "__mcount".into(),
|
||||
|
|
|
@ -8,8 +8,7 @@ pub fn target() -> Target {
|
|||
arch: "arm".into(),
|
||||
options: TargetOptions {
|
||||
abi: "eabihf".into(),
|
||||
// FIXME: change env to "gnu" when cfg_target_abi becomes stable
|
||||
env: "gnueabihf".into(),
|
||||
env: "gnu".into(),
|
||||
features: "+v7,+vfp3,-d32,+thumb2,-neon".into(),
|
||||
max_atomic_width: Some(64),
|
||||
mcount: "\u{1}__gnu_mcount_nc".into(),
|
||||
|
|
|
@ -8,8 +8,6 @@ pub fn target() -> Target {
|
|||
arch: "arm".into(),
|
||||
options: TargetOptions {
|
||||
abi: "eabihf".into(),
|
||||
// FIXME: remove env when cfg_target_abi becomes stable
|
||||
env: "eabihf".into(),
|
||||
features: "+v7,+vfp3,-d32,+thumb2,-neon".into(),
|
||||
max_atomic_width: Some(64),
|
||||
mcount: "__mcount".into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue