Skip to content

Commit 3277a9c

Browse files
committed
rustc_target: Use +spe for powerpcspe targets
1 parent 6368fd5 commit 3277a9c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

compiler/rustc_target/src/spec/targets/powerpc_unknown_linux_gnuspe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub(crate) fn target() -> Target {
2525
options: TargetOptions {
2626
cfg_abi: CfgAbi::Spe,
2727
endian: Endian::Big,
28-
features: "+secure-plt,+msync".into(),
28+
features: "+secure-plt,+msync,+spe".into(),
2929
mcount: "_mcount".into(),
3030
..base
3131
},

compiler/rustc_target/src/spec/targets/powerpc_unknown_linux_muslspe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub(crate) fn target() -> Target {
2525
options: TargetOptions {
2626
cfg_abi: CfgAbi::Spe,
2727
endian: Endian::Big,
28-
features: "+msync".into(),
28+
features: "+msync,+spe".into(),
2929
mcount: "_mcount".into(),
3030
..base
3131
},

compiler/rustc_target/src/spec/targets/powerpc_wrs_vxworks_spe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub(crate) fn target() -> Target {
2626
cfg_abi: CfgAbi::Spe,
2727
endian: Endian::Big,
2828
// feature msync would disable instruction 'fsync' which is not supported by fsl_p1p2
29-
features: "+secure-plt,+msync".into(),
29+
features: "+secure-plt,+msync,+spe".into(),
3030
..base
3131
},
3232
}

0 commit comments

Comments
 (0)