File tree Expand file tree Collapse file tree 3 files changed +46
-2
lines changed Expand file tree Collapse file tree 3 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 1
- #![ feature( rustc_private, stdsimd ) ]
1
+ #![ feature( rustc_private, stdarch_internal ) ]
2
2
extern crate std_detect;
3
3
pub use std_detect:: * ;
Original file line number Diff line number Diff line change
1
+ diff --git a/library/portable-simd/crates/core_simd/src/lib.rs b/library/portable-simd/crates/core_simd/src/lib.rs
2
+ index 64ba9705ef5..c1f19a6ca98 100644
3
+ --- a/library/portable-simd/crates/core_simd/src/lib.rs
4
+ +++ b/library/portable-simd/crates/core_simd/src/lib.rs
5
+ @@ -1,6 +1,7 @@
6
+ #![no_std]
7
+ #![feature(
8
+ const_refs_to_cell,
9
+ + const_intrinsic_copy,
10
+ const_maybe_uninit_as_mut_ptr,
11
+ const_mut_refs,
12
+ convert_float_to_int,
13
+ @@ -11,7 +12,6 @@
14
+ repr_simd,
15
+ simd_ffi,
16
+ staged_api,
17
+ - stdsimd,
18
+ strict_provenance,
19
+ ptr_metadata
20
+ )]
21
+ diff --git a/library/portable-simd/crates/test_helpers/src/lib.rs b/library/portable-simd/crates/test_helpers/src/lib.rs
22
+ index b80c745aaf2..eea9ba5baba 100644
23
+ --- a/library/portable-simd/crates/test_helpers/src/lib.rs
24
+ +++ b/library/portable-simd/crates/test_helpers/src/lib.rs
25
+ @@ -1,4 +1,4 @@
26
+ - #![feature(stdsimd, powerpc_target_feature)]
27
+ + #![feature(powerpc_target_feature)]
28
+
29
+ pub mod array;
30
+
31
+
32
+ diff --git a/crates/std_detect/src/lib.rs b/crates/std_detect/src/lib.rs
33
+ index 19cc0217..d19128c2 100644
34
+ --- a/library/stdarch/crates/std_detect/src/lib.rs
35
+ +++ b/library/stdarch/crates/std_detect/src/lib.rs
36
+ @@ -23,7 +23,7 @@
37
+ // Temporary hack: needed to build against toolchains from before the mass feature renaming.
38
+ // Remove this as soon as the stdarch submodule is updated on nightly.
39
+ #![allow(stable_features)]
40
+ - #![cfg_attr(not(feature = "rustc-dep-of-std"), feature(stdsimd))]
41
+ + #![cfg_attr(not(feature = "rustc-dep-of-std"), feature(stdarch_internal))]
42
+ #![cfg_attr(
43
+ all(
44
+ any(target_arch = "x86", target_arch = "x86_64"),
Original file line number Diff line number Diff line change 1
- nightly-2023-12-07
1
+ nightly-2024-02-09
You can’t perform that action at this time.
0 commit comments