Revert "Auto merge of #92419 - erikdesjardins:coldland, r=nagisa"

This reverts commit 4f49627c6f, reversing
changes made to 028c6f1454.
This commit is contained in:
Erik Desjardins 2022-02-26 12:52:07 -05:00
parent 3b1fe7e7c9
commit 851fcc7a54
9 changed files with 12 additions and 87 deletions

View file

@ -257,12 +257,6 @@ pub fn get_version() -> (u32, u32, u32) {
}
}
/// Returns `true` if this LLVM is Rust's bundled LLVM (and not system LLVM).
pub fn is_rust_llvm() -> bool {
// Can be called without initializing LLVM
unsafe { llvm::LLVMRustIsRustLLVM() }
}
pub fn print_passes() {
// Can be called without initializing LLVM
unsafe {