]> git.lizzy.rs Git - rust.git/commitdiff
More emscripten test fixes
authorPierre Krieger <pierre.krieger1708@gmail.com>
Wed, 10 Feb 2016 19:21:56 +0000 (20:21 +0100)
committerPierre Krieger <pierre.krieger1708@gmail.com>
Wed, 10 Feb 2016 19:29:19 +0000 (20:29 +0100)
src/test/run-pass/allocator-default.rs
src/test/run-pass/allocator-jemalloc.rs
src/test/run-pass/asm-concat-src.rs
src/test/run-pass/conditional-compile-arch.rs
src/test/run-pass/env-funky-keys.rs
src/test/run-pass/out-of-stack.rs

index aed7e5a8c13a6eab6ec4be3dedefb77b761755e6..be69a4eaddfa1eda51b5831ff3fa87b5216c388f 100644 (file)
@@ -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() {
index 3744aafdc5b2845ff999390444f26d7ffb5a7a5f..ad1438f75fc50507681282b6e090f126635ae530 100644 (file)
@@ -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)]
 
index 716c3d47a0365a2fb8410be081464a8fe3413dbf..ea3d0c3aa0ee891c3810a9510dcdc5975048f56a 100644 (file)
@@ -9,9 +9,11 @@
 // except according to those terms.
 
 // pretty-expanded FIXME #23616
+// ignore-asmjs
 
 #![feature(asm)]
 
 pub fn main() {
     unsafe { asm!(concat!("", "")) };
 }
+
index 462be5807cf8cfa9fcb544ba267a3e692831dc77..44971e9252edd9980d082c7ce9ce655602dbf3fb 100644 (file)
@@ -24,3 +24,6 @@ pub fn main() { }
 
 #[cfg(target_arch = "powerpc64")]
 pub fn main() { }
+
+#[cfg(target_arch = "asmjs")]
+pub fn main() { }
index 4d68a4445bbe93e243f2fe8805a6c66e4751381f..2b0a01496710590b24d761789a77c5c1ec2030c4 100644 (file)
@@ -12,6 +12,7 @@
 
 // ignore-android
 // ignore-windows
+// ignore-emscripten
 // no-prefer-dynamic
 
 #![feature(convert)]
index 4401861a1631c8a239d46ca98e74d0c1dd2199b2..5ac0378318508a26aada8883497cfa78d8f2aef8 100644 (file)
@@ -10,6 +10,7 @@
 
 // ignore-android: FIXME (#20004)
 // ignore-musl
+// ignore-asmjs
 
 #![feature(asm)]
 #![feature(libc)]