]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-make/execution-engine/test.rs
Get tests working on MSVC 32-bit
[rust.git] / src / test / run-make / execution-engine / test.rs
index fe6a5faf9324a3a46e4b0bdd8634c9e14c9d0f40..c4d28223c1a84d6297505a363889be953af78d97 100644 (file)
 use syntax::parse::token;
 
 fn main() {
+    // Currently trips an assertion on i686-msvc, presumably because the support
+    // in LLVM is a little young.
+    if cfg!(target_env = "msvc") && cfg!(target_arch = "x86") {
+        return
+    }
+
     let program = r#"
     #[no_mangle]
     pub static TEST_STATIC: i32 = 42;