]> git.lizzy.rs Git - rust.git/commit
Auto merge of #45399 - alexcrichton:compress-parallel, r=michaelwoerister
authorbors <bors@rust-lang.org>
Sat, 21 Oct 2017 21:40:08 +0000 (21:40 +0000)
committerbors <bors@rust-lang.org>
Sat, 21 Oct 2017 21:40:08 +0000 (21:40 +0000)
commit9ea3878dfec9b20993eaebfdb7566b29e49c52ab
tree1fee6e97b939cdbb90413e9f3c6e117a3ee67498
parent4279e2b4c14dc90191595c97ad3a019d618e7158
parent8197a0bbaf2c6ab717b40080e0d1201b634500b6
Auto merge of #45399 - alexcrichton:compress-parallel, r=michaelwoerister

rustc: Move bytecode compression into codegen

This commit moves compression of the bytecode from the `link` module to the
`write` module, namely allowing it to be (a) cached by incremental compilation
and (b) produced in parallel. The parallelization may show up as some nice wins
during normal compilation and the caching in incremental mode should be
beneficial for incremental compiles! (no more need to recompress the entire
crate's bitcode on all builds)