Closed

Description
EDIT: when env var RUST_BACKTRACE
is set to any value (even empty) [it was set to 1
for me here]
EDIT2: I had rust compiled with --enable-debuginfo
; when compiled with --disable-debuginfo
then it only takes 10 times more time than normal: that is, 0.6sec instead of 0.05 sec
$ time rustc -VV
error: Option 'version' given more than once.
real 0m47.717s
user 0m47.273s
sys 0m0.250s
$ time rustc -Vv
rustc 1.5.0-dev (04e497c00 2015-10-24)
binary: rustc
commit-hash: 04e497c0056aed899cd6edbc98e7a68a9b391c5c
commit-date: 2015-10-24
host: x86_64-unknown-linux-gnu
release: 1.5.0-dev
real 0m0.068s
user 0m0.017s
sys 0m0.030s
I thought the culprit was cargo at first: rust-lang/cargo#2079 but nope.