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.
This commit is contained in:
Tomasz Miąsko 2021-10-12 00:00:00 +00:00
parent ffdf18d144
commit aa3bf01889
2 changed files with 6 additions and 16 deletions

View file

@ -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;