Skip to content

Commit 5f8c3d7

Browse files
committed
Add documentation of the option into the unstable book
1 parent 3a125c7 commit 5f8c3d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## `split-metadata`
2+
3+
This option instructs `rustc` to only include a stub metadata section in `rlib` and `dylib` crate types instead of full metadata, to reduce their size on disk. You will probably want to combine this option with `--emit=metadata` to produce the full metadata into a separate `.rmeta` file.

0 commit comments

Comments
 (0)