diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2025-05-09 10:36:07 +0200 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2025-05-09 12:19:09 +0200 |
| commit | 8c8225afe8777a93aa635a252fb6a785d30d0527 (patch) | |
| tree | c2491704dcee4c74505413b86abe3a2022243629 /compiler/rustc_monomorphize/messages.ftl | |
| parent | c8b7f32434c0306db5c1b974ee43443746098a92 (diff) | |
| download | rust-8c8225afe8777a93aa635a252fb6a785d30d0527.tar.gz rust-8c8225afe8777a93aa635a252fb6a785d30d0527.zip | |
Remove mono item collection strategy override from -Zprint-mono-items
Previously `-Zprint-mono-items` would override the mono item collection strategy. When debugging one doesn't want to change the behaviour, so this was counter productive. Additionally, the produced behaviour was artificial and might never arise without using the option in the first place (`-Zprint-mono-items=eager` without `-Clink-dead-code`). Finally, the option was incorrectly marked as `UNTRACKED`. Resolve those issues, by turning `-Zprint-mono-items` into a boolean flag that prints results of mono item collection without changing the behaviour of mono item collection. For codegen-units test incorporate `-Zprint-mono-items` flag directly into compiletest tool. Test changes are mechanical. `-Zprint-mono-items=lazy` was removed without additional changes, and `-Zprint-mono-items=eager` was turned into `-Clink-dead-code`. Linking dead code disables internalization, so tests have been updated accordingly.
Diffstat (limited to 'compiler/rustc_monomorphize/messages.ftl')
| -rw-r--r-- | compiler/rustc_monomorphize/messages.ftl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_monomorphize/messages.ftl b/compiler/rustc_monomorphize/messages.ftl index 6b6653e7de0..35bedf4318f 100644 --- a/compiler/rustc_monomorphize/messages.ftl +++ b/compiler/rustc_monomorphize/messages.ftl @@ -60,9 +60,6 @@ monomorphize_start_not_found = using `fn main` requires the standard library monomorphize_symbol_already_defined = symbol `{$symbol}` is already defined -monomorphize_unknown_cgu_collection_mode = - unknown codegen-item collection mode '{$mode}', falling back to 'lazy' mode - monomorphize_wasm_c_abi_transition = this function {$is_call -> [true] call |
