diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-12-27 10:30:38 +0100 | 
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-12-27 10:30:38 +0100 | 
| commit | 52cf01c81579fa1add25e935d26de8cd3e9ea1d7 (patch) | |
| tree | cf1a6b47c9f7ea51d544db738c33eea673a828fc /compiler/rustc_codegen_cranelift/example/std_example.rs | |
| parent | 0f42d47bd5352028fe297f5e759b7e3763d55cbb (diff) | |
| parent | dbee13661efa269cb4cd57bb4c6b99a19732b484 (diff) | |
| download | rust-52cf01c81579fa1add25e935d26de8cd3e9ea1d7.tar.gz rust-52cf01c81579fa1add25e935d26de8cd3e9ea1d7.zip | |
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/example/std_example.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/compiler/rustc_codegen_cranelift/example/std_example.rs b/compiler/rustc_codegen_cranelift/example/std_example.rs index b38e25328a4..015bbdfed46 100644 --- a/compiler/rustc_codegen_cranelift/example/std_example.rs +++ b/compiler/rustc_codegen_cranelift/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!"); }); | 
