rustc nightly-x86_64-pc-windows-gnu 1.18.0-nightly (252d3da8a 2017-04-22):
rustc -C opt-level=0 --emit=metadata test.rs: 0.17 seconds
rustc -C opt-level=0 -C prefer-dynamic test.rs: 0.70 seconds, 186_196 bytes
rustc -C opt-level=3 -C target-cpu=native test.rs: 1.25 seconds, 1_099_576 bytes
rustc test.rs: 0.89 seconds, 1_212_027 bytes
rustc -O test.rs: 1.33 seconds, 1_099_576 bytes
Compilation time is “significantly” decreased (because of https://github.com/rust-lang/rust/pull/41469 ), the binary sizes are a little smaller, and performance benchmarks of other binaries show a small decrease.