diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-10-12 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-10-12 13:27:16 +0200 |
| commit | aa3bf01889e451222a653b73ccd0b25b5f88170a (patch) | |
| tree | b54f499e9a2cf97aa41620cd38d60b3dfc3b3f2c /compiler/rustc_codegen_llvm/src/llvm | |
| parent | ffdf18d1447b57faafded06a887b6dae1f7293c7 (diff) | |
| download | rust-aa3bf01889e451222a653b73ccd0b25b5f88170a.tar.gz rust-aa3bf01889e451222a653b73ccd0b25b5f88170a.zip | |
Cleanup LLVM multi-threading checks
The support for runtime multi-threading was removed from LLVM. Calls to `LLVMStartMultithreaded` became no-ops equivalent to checking if LLVM was compiled with support for threads http://reviews.llvm.org/D4216.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 63eca00de2a..3c744924328 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1743,7 +1743,7 @@ extern "C" { pub fn LLVMDisposeMessage(message: *mut c_char); - pub fn LLVMStartMultithreaded() -> Bool; + pub fn LLVMIsMultithreaded() -> Bool; /// Returns a string describing the last error caused by an LLVMRust* call. pub fn LLVMRustGetLastError() -> *const c_char; |
