Skip to content

Commit 7c0838b

Browse files
committed
Stabilize wasm_numeric_instr
1 parent b04d87c commit 7c0838b

File tree

1 file changed

+10
-10
lines changed
  • crates/core_arch/src/wasm32

1 file changed

+10
-10
lines changed

crates/core_arch/src/wasm32/mod.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn unreachable() -> ! {
4141
#[cfg_attr(test, assert_instr(f32.ceil))]
4242
#[inline]
4343
#[must_use = "method returns a new number and does not mutate the original value"]
44-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
44+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
4545
pub fn f32_ceil(a: f32) -> f32 {
4646
unsafe { crate::intrinsics::ceilf32(a) }
4747
}
@@ -55,7 +55,7 @@ pub fn f32_ceil(a: f32) -> f32 {
5555
#[cfg_attr(test, assert_instr(f32.floor))]
5656
#[inline]
5757
#[must_use = "method returns a new number and does not mutate the original value"]
58-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
58+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
5959
pub fn f32_floor(a: f32) -> f32 {
6060
unsafe { crate::intrinsics::floorf32(a) }
6161
}
@@ -69,7 +69,7 @@ pub fn f32_floor(a: f32) -> f32 {
6969
#[cfg_attr(test, assert_instr(f32.trunc))]
7070
#[inline]
7171
#[must_use = "method returns a new number and does not mutate the original value"]
72-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
72+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
7373
pub fn f32_trunc(a: f32) -> f32 {
7474
unsafe { crate::intrinsics::truncf32(a) }
7575
}
@@ -84,7 +84,7 @@ pub fn f32_trunc(a: f32) -> f32 {
8484
#[cfg_attr(test, assert_instr(f32.nearest))]
8585
#[inline]
8686
#[must_use = "method returns a new number and does not mutate the original value"]
87-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
87+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
8888
pub fn f32_nearest(a: f32) -> f32 {
8989
unsafe { crate::intrinsics::rintf32(a) }
9090
}
@@ -98,7 +98,7 @@ pub fn f32_nearest(a: f32) -> f32 {
9898
#[cfg_attr(test, assert_instr(f32.sqrt))]
9999
#[inline]
100100
#[must_use = "method returns a new number and does not mutate the original value"]
101-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
101+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
102102
pub fn f32_sqrt(a: f32) -> f32 {
103103
unsafe { crate::intrinsics::sqrtf32(a) }
104104
}
@@ -112,7 +112,7 @@ pub fn f32_sqrt(a: f32) -> f32 {
112112
#[cfg_attr(test, assert_instr(f64.ceil))]
113113
#[inline]
114114
#[must_use = "method returns a new number and does not mutate the original value"]
115-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
115+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
116116
pub fn f64_ceil(a: f64) -> f64 {
117117
unsafe { crate::intrinsics::ceilf64(a) }
118118
}
@@ -126,7 +126,7 @@ pub fn f64_ceil(a: f64) -> f64 {
126126
#[cfg_attr(test, assert_instr(f64.floor))]
127127
#[inline]
128128
#[must_use = "method returns a new number and does not mutate the original value"]
129-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
129+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
130130
pub fn f64_floor(a: f64) -> f64 {
131131
unsafe { crate::intrinsics::floorf64(a) }
132132
}
@@ -140,7 +140,7 @@ pub fn f64_floor(a: f64) -> f64 {
140140
#[cfg_attr(test, assert_instr(f64.trunc))]
141141
#[inline]
142142
#[must_use = "method returns a new number and does not mutate the original value"]
143-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
143+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
144144
pub fn f64_trunc(a: f64) -> f64 {
145145
unsafe { crate::intrinsics::truncf64(a) }
146146
}
@@ -155,7 +155,7 @@ pub fn f64_trunc(a: f64) -> f64 {
155155
#[cfg_attr(test, assert_instr(f64.nearest))]
156156
#[inline]
157157
#[must_use = "method returns a new number and does not mutate the original value"]
158-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
158+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
159159
pub fn f64_nearest(a: f64) -> f64 {
160160
unsafe { crate::intrinsics::rintf64(a) }
161161
}
@@ -169,7 +169,7 @@ pub fn f64_nearest(a: f64) -> f64 {
169169
#[cfg_attr(test, assert_instr(f64.sqrt))]
170170
#[inline]
171171
#[must_use = "method returns a new number and does not mutate the original value"]
172-
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
172+
#[stable(feature = "wasm_numeric_instr", since = "1.86.0")]
173173
pub fn f64_sqrt(a: f64) -> f64 {
174174
unsafe { crate::intrinsics::sqrtf64(a) }
175175
}

0 commit comments

Comments
 (0)