Reduce visibility of most items in rustc_codegen_llvm

This commit is contained in:
Daniel Paoliello
2024-11-13 13:13:03 -08:00
committed by Zalathar
parent 90f5eab952
commit 79b9664091
7 changed files with 144 additions and 136 deletions

View File

@@ -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() })
}