llvm_quick 181.0.0-alpha.7

Rust's wrapper for llvm.
Documentation
1
2
3
4
5
6
use llvm_sys::core::*;

/// Check whether LLVM is executing in thread-safe mode or not.
pub fn is_multithreaded() -> bool {
    unsafe { LLVMIsMultithreaded() != 0 }
}