mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
rustc_codegen_ssa: add s390x_target_feature symbol
This commit is contained in:
parent
c940d52cb0
commit
366bc8691b
@ -82,6 +82,7 @@ pub fn from_target_feature(
|
|||||||
Some(sym::prfchw_target_feature) => rust_features.prfchw_target_feature,
|
Some(sym::prfchw_target_feature) => rust_features.prfchw_target_feature,
|
||||||
Some(sym::x86_amx_intrinsics) => rust_features.x86_amx_intrinsics,
|
Some(sym::x86_amx_intrinsics) => rust_features.x86_amx_intrinsics,
|
||||||
Some(sym::xop_target_feature) => rust_features.xop_target_feature,
|
Some(sym::xop_target_feature) => rust_features.xop_target_feature,
|
||||||
|
Some(sym::s390x_target_feature) => rust_features.s390x_target_feature,
|
||||||
Some(name) => bug!("unknown target feature gate {}", name),
|
Some(name) => bug!("unknown target feature gate {}", name),
|
||||||
None => true,
|
None => true,
|
||||||
};
|
};
|
||||||
|
@ -312,6 +312,7 @@ declare_features! (
|
|||||||
(unstable, prfchw_target_feature, "1.78.0", Some(44839)),
|
(unstable, prfchw_target_feature, "1.78.0", Some(44839)),
|
||||||
(unstable, riscv_target_feature, "1.45.0", Some(44839)),
|
(unstable, riscv_target_feature, "1.45.0", Some(44839)),
|
||||||
(unstable, rtm_target_feature, "1.35.0", Some(44839)),
|
(unstable, rtm_target_feature, "1.35.0", Some(44839)),
|
||||||
|
(unstable, s390x_target_feature, "CURRENT_RUSTC_VERSION", Some(44839)),
|
||||||
(unstable, sse4a_target_feature, "1.27.0", Some(44839)),
|
(unstable, sse4a_target_feature, "1.27.0", Some(44839)),
|
||||||
(unstable, tbm_target_feature, "1.27.0", Some(44839)),
|
(unstable, tbm_target_feature, "1.27.0", Some(44839)),
|
||||||
(unstable, wasm_target_feature, "1.30.0", Some(44839)),
|
(unstable, wasm_target_feature, "1.30.0", Some(44839)),
|
||||||
|
Loading…
Reference in New Issue
Block a user