mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-19 11:29:28 +00:00
Fix compilation for non-unix systems
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
use crate::prelude::*;
|
||||
|
||||
#[cfg(feature = "jit")]
|
||||
#[cfg(all(feature = "jit", unix))]
|
||||
#[no_mangle]
|
||||
pub static mut __cg_clif_global_atomic_mutex: libc::pthread_mutex_t =
|
||||
libc::PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
Reference in New Issue
Block a user