The last nightly compiles again (rustc x86_64-pc-windows-gnu 1.26.0-nightly, 521d91c6b 2018-03-14):
rustc -C opt-level=0 --emit=metadata test.rs: 0.22 seconds
rustc -C opt-level=0 -C prefer-dynamic test.rs: 1.92 seconds, 136_704 stripped bytes
rustc test.rs: 2.00 seconds, 805_888 stripped bytes
rustc -O test.rs: 2.34 seconds, 733_184 stripped bytes
rustc -C opt-level=3 -C target-cpu=native test.rs: 2.35 seconds, 735_232 stripped bytes
rustc -C opt-level=3 -C target-cpu=native -C panic=abort -Z mir-opt-level=3 -C lto test.rs: 4.10 seconds, 202_240 stripped bytes
But now the compiler is much slower (perhaps nearly un-usably slower for me). In other longer code of mine I am seeing 11X compilation times using “–emit=metadata”, and 15X compilation times for optimized builds 