From b189cb90d7b00b3346095095959db25c91419d74 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 24 Feb 2025 10:44:00 +0100 Subject: [PATCH] Update stdarch --- library/core/Cargo.toml | 2 ++ library/core/src/lib.rs | 2 ++ library/stdarch | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/library/core/Cargo.toml b/library/core/Cargo.toml index 1538ecc6b9297..edde8153aa1d2 100644 --- a/library/core/Cargo.toml +++ b/library/core/Cargo.toml @@ -32,6 +32,8 @@ check-cfg = [ 'cfg(bootstrap)', 'cfg(no_fp_fmt_parse)', 'cfg(stdarch_intel_sde)', + # #[cfg(bootstrap)] + 'cfg(target_feature, values("vector-enhancements-1"))', # core use #[path] imports to portable-simd `core_simd` crate # and to stdarch `core_arch` crate which messes-up with Cargo list # of declared features, we therefor expect any feature cfg diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index db68f472c42f6..db3697c7e6b5a 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -205,11 +205,13 @@ #![feature(arm_target_feature)] #![feature(avx512_target_feature)] #![feature(hexagon_target_feature)] +#![feature(keylocker_x86)] #![feature(loongarch_target_feature)] #![feature(mips_target_feature)] #![feature(powerpc_target_feature)] #![feature(riscv_target_feature)] #![feature(rtm_target_feature)] +#![feature(s390x_target_feature)] #![feature(sha512_sm_x86)] #![feature(sse4a_target_feature)] #![feature(tbm_target_feature)] diff --git a/library/stdarch b/library/stdarch index 684de0d6fef70..2ca25b41fc4cb 160000 --- a/library/stdarch +++ b/library/stdarch @@ -1 +1 @@ -Subproject commit 684de0d6fef708cae08214fef9643dd9ec7296e1 +Subproject commit 2ca25b41fc4cb77fe5d73e8f732ae95dda5d3139