Fix some tests for wasm32-unknown-emscripten
This commit is contained in:
parent
6fb701e874
commit
b1a33971ab
|
@ -23,7 +23,7 @@ fn main() {
|
|||
assert_eq!(BE_U32, b(55u32).to_be());
|
||||
assert_eq!(LE_U32, b(55u32).to_le());
|
||||
|
||||
#[cfg(not(target_arch = "asmjs"))]
|
||||
#[cfg(not(target_os = "emscripten"))]
|
||||
{
|
||||
const BE_U128: u128 = 999999u128.to_be();
|
||||
const LE_I128: i128 = (-999999i128).to_le();
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
use core::ops::RangeBounds;
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(any(not(target_arch = "wasm32"), target_os = "emscripten"))]
|
||||
#[lang = "eh_personality"]
|
||||
extern fn eh_personality() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue