Skip to content

Commit 57c4a52

Browse files
committed
Add documentation of the option into the unstable book
1 parent 956c406 commit 57c4a52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
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)