summaryrefslogtreecommitdiffstats
path: root/src/doc/unstable-book/src/compiler-flags/dylib-lto.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/dylib-lto.md4
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 000000000..f69ea334f
--- /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).