MIR is a wiser choice
MIR is a wiser choice
Posted Sep 4, 2020 16:19 UTC (Fri) by mathstuf (subscriber, #69389)In reply to: MIR is a wiser choice by tdz
Parent article: Supporting Linux kernel development in Rust
- 2018 edition
- byte accesses on primitive types (to_le(), as_bytes(), etc.)
- code changes to take advantage of NLL
- async/await
- feature(doctest)
These usually have 3-4 releases between them.
If you want to avoid these kinds of things, keep a Cargo.lock and you'll stick with versions that continue to work. Very rarely things do get removed in Rust updates, but these are typically soundness issues that can cause problems if they are used improperly. Luckily crater can be used to fix it across the (FOSS) ecosystem pretty easily. Release notes are well-written and short enough that anyone else can read and follow along.