diff options
| author | bors <bors@rust-lang.org> | 2021-10-25 05:28:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-25 05:28:07 +0000 |
| commit | 56694b04532cc0dec6e2f577135da3513e856923 (patch) | |
| tree | dfd76c5c36901910f82aca781807eaf256dcc54b /compiler/rustc_codegen_llvm/src/llvm | |
| parent | 28d0e75269ad092662fef27f44c6aa029c376d49 (diff) | |
| parent | aa3bf01889e451222a653b73ccd0b25b5f88170a (diff) | |
Auto merge of #89808 - tmiasko:llvm-multithreaded, r=nagisa
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 4c9ae4faf72..45fb638e3b4 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1770,7 +1770,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; |
