You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#101403 - bjorn3:dylib_lto, r=Mark-Simulacrum
Enable LTO for rustc_driver.so
Alternative to rust-lang#97154
This enables LTO'ing dylibs behind a feature flag and uses this feature for compiling rustc_driver.so.
Copy file name to clipboardexpand all lines: compiler/rustc_error_messages/locales/en-US/codegen_ssa.ftl
+2
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ codegen_ssa_rlib_only_rmeta_found = could not find rlib for: `{$crate_name}`, fo
34
34
35
35
codegen_ssa_rlib_not_found = could not find rlib for: `{$crate_name}`
36
36
37
+
codegen_ssa_rlib_incompatible_dependency_formats = `{$ty1}` and `{$ty2}` do not have equivalent dependency formats (`{$list1}` vs `{$list2}`)
38
+
37
39
codegen_ssa_linking_failed = linking with `{$linker_path}` failed: {$exit_status}
38
40
39
41
codegen_ssa_extern_funcs_not_found = some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
Copy file name to clipboardexpand all lines: src/test/rustdoc-ui/z-help.stdout
+1
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@
36
36
-Z dump-mir-graphviz=val -- in addition to `.mir` files, create graphviz `.dot` files (and with `-Z instrument-coverage`, also create a `.dot` file for the MIR-derived coverage graph) (default: no)
37
37
-Z dump-mir-spanview=val -- in addition to `.mir` files, create `.html` files to view spans for all `statement`s (including terminators), only `terminator` spans, or computed `block` spans (one span encompassing a block's terminator and all statements). If `-Z instrument-coverage` is also enabled, create an additional `.html` file showing the computed coverage spans.
38
38
-Z dwarf-version=val -- version of DWARF debug information to emit (default: 2 or 4, depending on platform)
39
+
-Z dylib-lto=val -- enables LTO for dylib crate type
0 commit comments