More emscripten test fixes
This commit is contained in:
parent
0d410b8d2a
commit
974ba28add
6 changed files with 10 additions and 2 deletions
|
@ -10,9 +10,9 @@
|
|||
|
||||
#![feature(alloc_jemalloc, alloc_system)]
|
||||
|
||||
#[cfg(not(any(windows, target_os = "bitrig", target_os = "openbsd")))]
|
||||
#[cfg(not(any(windows, target_os = "bitrig", target_os = "openbsd", target_os="emscripten")))]
|
||||
extern crate alloc_jemalloc;
|
||||
#[cfg(any(windows, target_os = "bitrig", target_os = "openbsd"))]
|
||||
#[cfg(any(windows, target_os = "bitrig", target_os = "openbsd", target_os="emscripten"))]
|
||||
extern crate alloc_system;
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
// ignore-windows no jemalloc on windows
|
||||
// ignore-bitrig no jemalloc on bitrig
|
||||
// ignore-openbsd no jemalloc on openbsd
|
||||
// ignore-emscripten no jemalloc on emscripten
|
||||
|
||||
#![feature(alloc_jemalloc)]
|
||||
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-asmjs
|
||||
|
||||
#![feature(asm)]
|
||||
|
||||
pub fn main() {
|
||||
unsafe { asm!(concat!("", "")) };
|
||||
}
|
||||
|
||||
|
|
|
@ -24,3 +24,6 @@ pub fn main() { }
|
|||
|
||||
#[cfg(target_arch = "powerpc64")]
|
||||
pub fn main() { }
|
||||
|
||||
#[cfg(target_arch = "asmjs")]
|
||||
pub fn main() { }
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
// ignore-android
|
||||
// ignore-windows
|
||||
// ignore-emscripten
|
||||
// no-prefer-dynamic
|
||||
|
||||
#![feature(convert)]
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
// ignore-android: FIXME (#20004)
|
||||
// ignore-musl
|
||||
// ignore-asmjs
|
||||
|
||||
#![feature(asm)]
|
||||
#![feature(libc)]
|
||||
|
|
Loading…
Add table
Reference in a new issue