diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-08 14:25:14 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-13 12:36:09 +1100 |
| commit | 659e20fa7524f8fd217476daf5ecbbe366b2ae61 (patch) | |
| tree | 4c713b0de275754bf19a326ef8b3065ab3df5e71 /compiler/rustc_codegen_llvm | |
| parent | 552a959051cebf8f88a8f558399baf733bec9ce0 (diff) | |
| download | rust-659e20fa7524f8fd217476daf5ecbbe366b2ae61.tar.gz rust-659e20fa7524f8fd217476daf5ecbbe366b2ae61.zip | |
Remove `LLVMGetModuleContext`
This was unused after the removal of `-Zprofile` in #131829.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 441d144ce50..e0beaeab8a5 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -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. |
