about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-14 09:16:15 +0000
committerbors <bors@rust-lang.org>2023-12-14 09:16:15 +0000
commit9d49eb76c47a139ef71da4ab56aa9aeca5f24913 (patch)
treee3b338c0d0a863ffe99b05e38897ddbd66c8f925 /compiler/rustc_interface/src
parent1a8afa0e748008708950e1a9ff62c598e2cfb3ea (diff)
parent981c4e3ce6f3d89f681fbb0de753d03425c6a209 (diff)
downloadrust-9d49eb76c47a139ef71da4ab56aa9aeca5f24913.tar.gz
rust-9d49eb76c47a139ef71da4ab56aa9aeca5f24913.zip
Auto merge of #118417 - anforowicz:default-hidden-visibility, r=TaKO8Ki
Add unstable `-Zdefault-hidden-visibility` cmdline flag for `rustc`.

The new flag has been described in the Major Change Proposal at
https://github.com/rust-lang/compiler-team/issues/656
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index ce58b2ab061..25fa2b37547 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -748,6 +748,7 @@ fn test_unstable_options_tracking_hash() {
     tracked!(cross_crate_inline_threshold, InliningThreshold::Always);
     tracked!(debug_info_for_profiling, true);
     tracked!(debug_macros, true);
+    tracked!(default_hidden_visibility, Some(true));
     tracked!(dep_info_omit_d_target, true);
     tracked!(dual_proc_macros, true);
     tracked!(dwarf_version, Some(5));