Skip to content

Commit

Permalink
Remove LLVMGetModuleContext
Browse files Browse the repository at this point in the history
This was unused after the removal of `-Zprofile` in rust-lang#131829.
  • Loading branch information
Zalathar committed Feb 13, 2025
1 parent 552a959 commit 659e20f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_codegen_llvm/src/llvm/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,6 @@ unsafe extern "C" {

// Create modules.
pub fn LLVMModuleCreateWithNameInContext(ModuleID: *const c_char, C: &Context) -> &Module;
pub fn LLVMGetModuleContext(M: &Module) -> &Context;
pub fn LLVMCloneModule(M: &Module) -> &Module;

/// Data layout. See Module::getDataLayout.
Expand Down

0 comments on commit 659e20f

Please sign in to comment.