4 ms·
Is rustc is backward-compatible, does it typically compile .rs files written 1 year ago? 5 years ago?
by ptspts 3y ago
Is rustc is backward-compatible, does it typically compile .rs files written 1 year ago? 5 years ago?
- deleted 3y ago[deleted]
- db48x 3y agoRust has really great support for backward–compatibility. A few breaking changes to the language have been made over the years (such as the introduction of async/await), resulting in several different editions of the language. The compiler supports all editions equally, and different crates can even be in different editions, even if they are linked into the same program. That means that code written for Rust 1.0 still works perfectly, and there is no need to update it to the latest edition in order to continue using it even in programs that are written in the latest edition.