]> git.lizzy.rs Git - rust.git/commit
Make the rustc and rustdoc wrapper not depend on libbootstrap
authorbjorn3 <bjorn3@users.noreply.github.com>
Sun, 26 Dec 2021 14:35:50 +0000 (15:35 +0100)
committerbjorn3 <bjorn3@users.noreply.github.com>
Sat, 1 Jan 2022 15:56:05 +0000 (16:56 +0100)
commit947e9483e9684025faee9eaba56a0fbb200d26b8
tree5700b2b7efb59dece30734f4b8fa1524c09e1dbe
parent043745cb9688fbecd97638b2fa156cb055bbbb14
Make the rustc and rustdoc wrapper not depend on libbootstrap

This slightly improves compilation time by reducing linking time
(saving about a 1/10 of the the total compilation time after
changing rustbuild) and slightly reduces disk usage (from 16MB for
the rustc wrapper to 4MB).
src/bootstrap/bin/rustc.rs
src/bootstrap/bin/rustdoc.rs
src/bootstrap/dylib_util.rs [new file with mode: 0644]
src/bootstrap/util.rs