File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
librustc_codegen_llvm/llvm Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -1382,7 +1382,6 @@ extern "C" {
13821382 pub fn LLVMRustDebugMetadataVersion ( ) -> u32 ;
13831383 pub fn LLVMRustVersionMajor ( ) -> u32 ;
13841384 pub fn LLVMRustVersionMinor ( ) -> u32 ;
1385- pub fn LLVMRustIsRustLLVM ( ) -> bool ;
13861385
13871386 pub fn LLVMRustAddModuleFlag ( M : & Module , name : * const c_char , value : u32 ) ;
13881387
Original file line number Diff line number Diff line change @@ -613,14 +613,6 @@ extern "C" uint32_t LLVMRustVersionMinor() { return LLVM_VERSION_MINOR; }
613613
614614extern " C" uint32_t LLVMRustVersionMajor () { return LLVM_VERSION_MAJOR; }
615615
616- extern " C" bool LLVMRustIsRustLLVM () {
617- #ifdef LLVM_RUSTLLVM
618- return 1 ;
619- #else
620- return 0 ;
621- #endif
622- }
623-
624616extern " C" void LLVMRustAddModuleFlag (LLVMModuleRef M, const char *Name,
625617 uint32_t Value) {
626618 unwrap (M)->addModuleFlag (Module::Warning, Name, Value);
You can’t perform that action at this time.
0 commit comments