about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2025-02-07 16:42:55 -0800
committerDaniel Paoliello <danpao@microsoft.com>2025-02-10 10:17:25 -0800
commit5f29273921f2a15a440e373c640d5525756fdf41 (patch)
treef9dab9008d512dc6a2f695463050b992f857bbaf /compiler/rustc_codegen_llvm/src/lib.rs
parenta9e7b30487235621751cc628f170c0f15fb215c4 (diff)
downloadrust-5f29273921f2a15a440e373c640d5525756fdf41.tar.gz
rust-5f29273921f2a15a440e373c640d5525756fdf41.zip
rustc_codegen_llvm: Mark items as pub(crate) outside of the llvm module
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs
index 14346795fda..57a5bd43446 100644
--- a/compiler/rustc_codegen_llvm/src/lib.rs
+++ b/compiler/rustc_codegen_llvm/src/lib.rs
@@ -29,7 +29,7 @@ use std::mem::ManuallyDrop;
 use back::owned_target_machine::OwnedTargetMachine;
 use back::write::{create_informational_target_machine, create_target_machine};
 use errors::{AutoDiffWithoutLTO, ParseTargetMachineConfig};
-pub use llvm_util::target_features_cfg;
+pub(crate) use llvm_util::target_features_cfg;
 use rustc_ast::expand::allocator::AllocatorKind;
 use rustc_ast::expand::autodiff_attrs::AutoDiffItem;
 use rustc_codegen_ssa::back::lto::{LtoModuleCodegen, SerializedModule, ThinModule};