about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-06-25 17:49:43 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-06-25 17:49:43 +0200
commit57c6eb7b2ba4375039d289e84e51e9e784b08f31 (patch)
treef05aef79c0edbce57696aa73f3f21759dfcf593f /example
parent5c783242150f491757231e1fff1830bf1bd6a435 (diff)
downloadrust-57c6eb7b2ba4375039d289e84e51e9e784b08f31.tar.gz
rust-57c6eb7b2ba4375039d289e84e51e9e784b08f31.zip
Test multithreading support in lazy-jit
Diffstat (limited to 'example')
-rw-r--r--example/std_example.rs2
1 files changed, 0 insertions, 2 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!");
     });