build: migrate to Rust 2021 edition
Rust 2021 edition has a few improvements over the 2018 edition. Migrate the project to 2021 edition by following recommended migration steps. Luckily, the code itself doesn't require fixing. Bump MSRV to 1.56 as it is required by the 2021 edition. Also fix the clap build dependency to make Cloud Hypervisor build again. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
298a5580a9
commit
7d7bfb2034
29 changed files with 31 additions and 31 deletions
|
|
@ -2,7 +2,7 @@
|
|||
name = "vm-allocator"
|
||||
version = "0.1.0"
|
||||
authors = ["The Chromium OS Authors"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.122"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue