diff options
| author | Daniel Paoliello <danpao@microsoft.com> | 2024-11-13 13:13:03 -0800 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-03-25 16:36:47 +1100 |
| commit | 79b9664091e90c08a7abeab2bbc4a941bcdc3863 (patch) | |
| tree | d12a308440fe7bc99e8bd5bdcbe54949023edf96 /compiler/rustc_codegen_llvm/src/back | |
| parent | 90f5eab952728ac6edcf529a171f7de5c25e5d49 (diff) | |
| download | rust-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.rs | 2 |
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() }) } |
