diff options
| author | Lukasz Anforowicz <lukasza@chromium.org> | 2023-12-13 21:14:18 +0000 |
|---|---|---|
| committer | Lukasz Anforowicz <lukasza@chromium.org> | 2023-12-13 21:14:23 +0000 |
| commit | 981c4e3ce6f3d89f681fbb0de753d03425c6a209 (patch) | |
| tree | 45fac0a87e9435e05ef8b63941ba36ed650f885d /compiler/rustc_interface/src | |
| parent | 56d25ba5ea3515ba2b361b6c4636373734eb27cc (diff) | |
| download | rust-981c4e3ce6f3d89f681fbb0de753d03425c6a209.tar.gz rust-981c4e3ce6f3d89f681fbb0de753d03425c6a209.zip | |
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.rs | 1 |
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)); |
