about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.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/llvm_util.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/llvm_util.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index 53611c746a7..e72f8bdff84 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -303,7 +303,7 @@ pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option<LLVMFea
 /// Must express features in the way Rust understands them.
 ///
 /// We do not have to worry about RUSTC_SPECIFIC_FEATURES here, those are handled outside codegen.
-pub fn target_features_cfg(sess: &Session, allow_unstable: bool) -> Vec<Symbol> {
+pub(crate) fn target_features_cfg(sess: &Session, allow_unstable: bool) -> Vec<Symbol> {
     let mut features: FxHashSet<Symbol> = Default::default();
 
     // Add base features for the target.