4 ms·
> Have you ever tried to recompile 1 yr old code in Rust with the latest compiler? I have, more than once; it worked perfectly fine. The only time it's broken
by cesarb 3y ago
> Have you ever tried to recompile 1 yr old code in Rust with the latest compiler?
I have, more than once; it worked perfectly fine.
The only time it's broken for me is when the code had unstable nightly-only features, hidden behind a "nightly-only" feature flag, which was rejected by the parser on a newer Rust compiler, even though it would not be compiled due to the feature flag being disabled (even though it wouldn't be compiled, it still had to be parsed; IIRC, it was the change to the inline assembly syntax, and the fix was just to change from "asm" to "llvm_asm").
- raverbashing 3y agoNot my experience, though I think it was more due to libraries (but need to update a library -> needs newer compiler version -> needs to update another library, etc)