about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2024-11-13 13:13:03 -0800
committerZalathar <Zalathar@users.noreply.github.com>2025-03-25 16:36:47 +1100
commit79b9664091e90c08a7abeab2bbc4a941bcdc3863 (patch)
treed12a308440fe7bc99e8bd5bdcbe54949023edf96 /compiler/rustc_codegen_llvm/src/back
parent90f5eab952728ac6edcf529a171f7de5c25e5d49 (diff)
downloadrust-79b9664091e90c08a7abeab2bbc4a941bcdc3863.tar.gz
rust-79b9664091e90c08a7abeab2bbc4a941bcdc3863.zip
Reduce visibility of most items in `rustc_codegen_llvm`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/lto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/lto.rs b/compiler/rustc_codegen_llvm/src/back/lto.rs
index 668795191a2..f083cfbd7d3 100644
--- a/compiler/rustc_codegen_llvm/src/back/lto.rs
+++ b/compiler/rustc_codegen_llvm/src/back/lto.rs
@@ -728,7 +728,7 @@ impl ThinBuffer {
         }
     }
 
-    pub unsafe fn from_raw_ptr(ptr: *mut llvm::ThinLTOBuffer) -> ThinBuffer {
+    pub(crate) unsafe fn from_raw_ptr(ptr: *mut llvm::ThinLTOBuffer) -> ThinBuffer {
         let mut ptr = NonNull::new(ptr).unwrap();
         ThinBuffer(unsafe { ptr.as_mut() })
     }