News for hackers. Stuff that matters.
Re:A Few More Reasons Rust Compiles Slowly by ohazi on Monday June 29, 2020 @09:55PM (#23685695)
Most of the flags tell the Rust compiler what strategies to use when producing machine code. Actual Rust code rarely looks at these flags, so correct interpretation of the program generally isn't affected by them.

Contrast this with C and C++, where it's common to #ifdef in an entirely different program depending on the flags.

It's certainly possible to do something like this in Rust, but in practice it's rare.

There are no comments on this comment yet.