diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2022-09-29 16:31:03 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2022-10-23 13:48:03 +0200 |
| commit | c5c86806c859048f9bfdbb92b30401ef4f3a3346 (patch) | |
| tree | 80bd0586eb361e26c5f7f826ecc4f39f3eec9ef7 /src/doc | |
| parent | cba16819a1aa2f99c861eba907847db39fea06c5 (diff) | |
Introduce dedicated `-Zdylib-lto` flag for enabling LTO on `dylib`s
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/dylib-lto.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/dylib-lto.md b/src/doc/unstable-book/src/compiler-flags/dylib-lto.md new file mode 100644 index 00000000000..f69ea334f5a --- /dev/null +++ b/src/doc/unstable-book/src/compiler-flags/dylib-lto.md @@ -0,0 +1,4 @@ +## `dylib-lto` + +This option enables using LTO for the `dylib` crate type. This is currently only used for compiling +`rustc` itself (more specifically, the `librustc_driver` dylib). |
