Reduce visibility of most items in rustc_codegen_llvm
This commit is contained in:
committed by
Zalathar
parent
90f5eab952
commit
79b9664091
@@ -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() })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user