We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fb701e commit b1a3397Copy full SHA for b1a3397
src/test/run-pass/consts/const-endianess.rs
@@ -23,7 +23,7 @@ fn main() {
23
assert_eq!(BE_U32, b(55u32).to_be());
24
assert_eq!(LE_U32, b(55u32).to_le());
25
26
- #[cfg(not(target_arch = "asmjs"))]
+ #[cfg(not(target_os = "emscripten"))]
27
{
28
const BE_U128: u128 = 999999u128.to_be();
29
const LE_I128: i128 = (-999999i128).to_le();
src/test/ui/range/issue-54505-no-std.rs
@@ -11,7 +11,7 @@
11
12
use core::ops::RangeBounds;
13
14
-#[cfg(not(target_arch = "wasm32"))]
+#[cfg(any(not(target_arch = "wasm32"), target_os = "emscripten"))]
15
#[lang = "eh_personality"]
16
extern fn eh_personality() {}
17
0 commit comments