Low Level Tools/2019Q2: Difference between revisions
Jump to navigation
Jump to search
Nnethercote (talk | contribs) (→Nick) |
Nnethercote (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
[https://github.com/rust-lang/rust/issues/58465 rustc pipelining]: accept metadata as input for dependencies when producing an rlib. | [https://github.com/rust-lang/rust/issues/58465 rustc pipelining]: accept metadata as input for dependencies when producing an rlib. | ||
* [https://github.com/rust-lang/rust/pull/60190 Don't generate unnecessary rmeta files.] A precursor. | * [https://github.com/rust-lang/rust/pull/60190 Don't generate unnecessary rmeta files.] A precursor. | ||
* [https://github.com/rust-lang/rust/pull/60006 In JSON output, emit a directive after metadata is generated.] The part that lets rustc tell Cargo when metadata has been written. | |||
Ship GWP. | Ship GWP. |
Revision as of 03:06, 30 April 2019
Nick
rustc pipelining: accept metadata as input for dependencies when producing an rlib.
- Don't generate unnecessary rmeta files. A precursor.
- In JSON output, emit a directive after metadata is generated. The part that lets rustc tell Cargo when metadata has been written.
Ship GWP.
Land 5 changes that speed up or reduce peak memory usage of rustc.
- Increase `Span` from 4 bytes to 8 bytes. A big win across lots of workloads, especially larger crates: some script-servo builds are 15% faster.
- Reduce the `DepNode` pre-allocation ratio. Reduces peak memory use by 20 MiB on some workloads.