#![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() {
// 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)]