4 ms·
Rust generates absurd amounts of debug info, so the default debug builds are much much larger. Zero-cost abstractions don't have zero-cost debug info. In fact,
by pornel 1y ago
Rust generates absurd amounts of debug info, so the default debug builds are much much larger.
Zero-cost abstractions don't have zero-cost debug info. In fact, all of the optimized-away stuff is intentionally preserved with full fidelity in the debug info.