@@ -51,8 +51,6 @@ macro_rules! conversions {
5151 $(
5252 impl $ty {
5353 #[ inline( always) ]
54- // FIXME remove next line when const-stability v2 migration is done
55- #[ rustc_const_unstable( feature = "wasm_simd_const_internals" , issue = "none" ) ]
5654 pub ( crate ) const fn v128( self ) -> v128 {
5755 unsafe { mem:: transmute( self ) }
5856 }
@@ -665,7 +663,6 @@ pub unsafe fn v128_store64_lane<const L: usize>(v: v128, m: *mut u64) {
665663#[ doc( alias( "v128.const" ) ) ]
666664#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
667665#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
668- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
669666pub const fn i8x16 (
670667 a0 : i8 ,
671668 a1 : i8 ,
@@ -698,7 +695,6 @@ pub const fn i8x16(
698695#[ doc( alias( "v128.const" ) ) ]
699696#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
700697#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
701- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
702698pub const fn u8x16 (
703699 a0 : u8 ,
704700 a1 : u8 ,
@@ -745,7 +741,6 @@ pub const fn u8x16(
745741#[ doc( alias( "v128.const" ) ) ]
746742#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
747743#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
748- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
749744pub const fn i16x8 ( a0 : i16 , a1 : i16 , a2 : i16 , a3 : i16 , a4 : i16 , a5 : i16 , a6 : i16 , a7 : i16 ) -> v128 {
750745 simd:: i16x8:: new ( a0, a1, a2, a3, a4, a5, a6, a7) . v128 ( )
751746}
@@ -758,7 +753,6 @@ pub const fn i16x8(a0: i16, a1: i16, a2: i16, a3: i16, a4: i16, a5: i16, a6: i16
758753#[ doc( alias( "v128.const" ) ) ]
759754#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
760755#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
761- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
762756pub const fn u16x8 ( a0 : u16 , a1 : u16 , a2 : u16 , a3 : u16 , a4 : u16 , a5 : u16 , a6 : u16 , a7 : u16 ) -> v128 {
763757 simd:: u16x8:: new ( a0, a1, a2, a3, a4, a5, a6, a7) . v128 ( )
764758}
@@ -772,7 +766,6 @@ pub const fn u16x8(a0: u16, a1: u16, a2: u16, a3: u16, a4: u16, a5: u16, a6: u16
772766#[ doc( alias( "v128.const" ) ) ]
773767#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
774768#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
775- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
776769pub const fn i32x4 ( a0 : i32 , a1 : i32 , a2 : i32 , a3 : i32 ) -> v128 {
777770 simd:: i32x4:: new ( a0, a1, a2, a3) . v128 ( )
778771}
@@ -785,7 +778,6 @@ pub const fn i32x4(a0: i32, a1: i32, a2: i32, a3: i32) -> v128 {
785778#[ doc( alias( "v128.const" ) ) ]
786779#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
787780#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
788- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
789781pub const fn u32x4 ( a0 : u32 , a1 : u32 , a2 : u32 , a3 : u32 ) -> v128 {
790782 simd:: u32x4:: new ( a0, a1, a2, a3) . v128 ( )
791783}
@@ -799,7 +791,6 @@ pub const fn u32x4(a0: u32, a1: u32, a2: u32, a3: u32) -> v128 {
799791#[ doc( alias( "v128.const" ) ) ]
800792#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
801793#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
802- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
803794pub const fn i64x2 ( a0 : i64 , a1 : i64 ) -> v128 {
804795 simd:: i64x2:: new ( a0, a1) . v128 ( )
805796}
@@ -812,7 +803,6 @@ pub const fn i64x2(a0: i64, a1: i64) -> v128 {
812803#[ doc( alias( "v128.const" ) ) ]
813804#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
814805#[ rustc_const_stable( feature = "wasm_simd" , since = "1.54.0" ) ]
815- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
816806pub const fn u64x2 ( a0 : u64 , a1 : u64 ) -> v128 {
817807 simd:: u64x2:: new ( a0, a1) . v128 ( )
818808}
@@ -826,7 +816,6 @@ pub const fn u64x2(a0: u64, a1: u64) -> v128 {
826816#[ doc( alias( "v128.const" ) ) ]
827817#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
828818#[ rustc_const_stable( feature = "wasm_simd_const" , since = "1.56.0" ) ]
829- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
830819pub const fn f32x4 ( a0 : f32 , a1 : f32 , a2 : f32 , a3 : f32 ) -> v128 {
831820 simd:: f32x4:: new ( a0, a1, a2, a3) . v128 ( )
832821}
@@ -840,7 +829,6 @@ pub const fn f32x4(a0: f32, a1: f32, a2: f32, a3: f32) -> v128 {
840829#[ doc( alias( "v128.const" ) ) ]
841830#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
842831#[ rustc_const_stable( feature = "wasm_simd_const" , since = "1.56.0" ) ]
843- #[ rustc_allow_const_fn_unstable( wasm_simd_const_internals) ] // FIXME remove when const-stability v2 migration is done
844832pub const fn f64x2 ( a0 : f64 , a1 : f64 ) -> v128 {
845833 simd:: f64x2:: new ( a0, a1) . v128 ( )
846834}
0 commit comments