diff options
| author | Ralf Jung <post@ralfj.de> | 2025-05-31 05:52:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-31 05:52:59 +0000 |
| commit | 49a99cb81b8bcd6d17451f48813c14f2a2092b7a (patch) | |
| tree | 5f34a0f675e03dd7056bd9dfd39758ea117ff087 /compiler/rustc_codegen_llvm/src/back/write.rs | |
| parent | 8c0f859183964c28cd961806afd9230c6c305137 (diff) | |
| parent | 449ec7b3fec9ec7fb8d6bcf56b269f4b92128e20 (diff) | |
| download | rust-49a99cb81b8bcd6d17451f48813c14f2a2092b7a.tar.gz rust-49a99cb81b8bcd6d17451f48813c14f2a2092b7a.zip | |
Merge pull request #4360 from rust-lang/rustup-2025-05-31
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/write.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs index 20721c74608..bde6a9cf4bc 100644 --- a/compiler/rustc_codegen_llvm/src/back/write.rs +++ b/compiler/rustc_codegen_llvm/src/back/write.rs @@ -704,7 +704,7 @@ pub(crate) unsafe fn llvm_optimize( } // Unsafe due to LLVM calls. -pub(crate) unsafe fn optimize( +pub(crate) fn optimize( cgcx: &CodegenContext<LlvmCodegenBackend>, dcx: DiagCtxtHandle<'_>, module: &mut ModuleCodegen<ModuleLlvm>, @@ -815,7 +815,7 @@ pub(crate) fn link( Ok(modules.remove(0)) } -pub(crate) unsafe fn codegen( +pub(crate) fn codegen( cgcx: &CodegenContext<LlvmCodegenBackend>, dcx: DiagCtxtHandle<'_>, module: ModuleCodegen<ModuleLlvm>, |
