about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--example/std_example.rs2
-rwxr-xr-xscripts/tests.sh2
2 files changed, 1 insertions, 3 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index 7d608df9253..5bc51a541b5 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -15,8 +15,6 @@ fn main() {
     let stderr = ::std::io::stderr();
     let mut stderr = stderr.lock();
 
-    // FIXME support lazy jit when multi threading
-    #[cfg(not(lazy_jit))]
     std::thread::spawn(move || {
         println!("Hello from another thread!");
     });
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 243a0ef2851..9bbda6b8059 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -46,7 +46,7 @@ function base_sysroot_tests() {
         $MY_RUSTC -Cllvm-args=mode=jit -Cprefer-dynamic example/std_example.rs --target "$HOST_TRIPLE"
 
         echo "[JIT-lazy] std_example"
-        $MY_RUSTC -Cllvm-args=mode=jit-lazy -Cprefer-dynamic example/std_example.rs --cfg lazy_jit --target "$HOST_TRIPLE"
+        $MY_RUSTC -Cllvm-args=mode=jit-lazy -Cprefer-dynamic example/std_example.rs --target "$HOST_TRIPLE"
     else
         echo "[JIT] std_example (skipped)"
     fi