Closed
Description
Every x.py
command seems to start like this for me:
./x.py something something
Updating only changed submodules
Submodules updated in 0.01 seconds
Compiling libc v0.2.39
Compiling dtoa v0.4.2
Compiling lazy_static v0.2.11
Compiling cfg-if v0.1.2
Compiling num-traits v0.2.1
Compiling unicode-xid v0.1.0
Compiling serde v1.0.29
Compiling getopts v0.2.15
Compiling cc v1.0.6
Compiling itoa v0.3.4
Compiling proc-macro2 v0.2.3
Compiling num_cpus v1.8.0
Compiling time v0.1.39
Compiling filetime v0.1.15
Compiling build_helper v0.1.0 (file:///home/simon/rust3/src/build_helper)
Compiling quote v0.4.2
Compiling cmake v0.1.29
Compiling syn v0.12.14
Compiling serde_derive_internals v0.20.0
Compiling serde_json v1.0.10
Compiling toml v0.4.5
Compiling serde_derive v1.0.29
Compiling bootstrap v0.0.0 (file:///home/simon/rust3/src/bootstrap)
Finished dev [unoptimized] target(s) in 12.12 secs
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[…]
Sometimes bootstrap
and its dependencies are all rebuilt twice within the same x.py
command!
12 seconds is not a lot compared to building two stages of rustc, but if it’s something that’s not too hard to fix it’s not negligible either.