about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-12-27 10:30:38 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2020-12-27 10:30:38 +0100
commit77f74ed070b648c513be3b1795514168fe7a9ebc (patch)
tree3c54302d06da4cf99cbc0e2429fbab66851d4910 /example
parent6c1fc324b2ebec435c8f2815f25698a6c5ad5314 (diff)
downloadrust-77f74ed070b648c513be3b1795514168fe7a9ebc.tar.gz
rust-77f74ed070b648c513be3b1795514168fe7a9ebc.zip
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
Diffstat (limited to 'example')
-rw-r--r--example/std_example.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index b38e25328a4..015bbdfed46 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -15,6 +15,8 @@ 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!");
     });