From eba6d4263d89b1f7a05f9073c9a66d22034501a8 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Mon, 10 Jan 2022 19:17:38 -0800 Subject: [PATCH 1/2] Switch test crates to Rust 2021 The whole standard library is now on Rust 2021, so the test crates need to use it too. The switch was made in rust-lang/rust#92068. --- alloc_miri_test/Cargo.toml | 2 +- core_miri_test/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alloc_miri_test/Cargo.toml b/alloc_miri_test/Cargo.toml index 8195800..2ec5b21 100644 --- a/alloc_miri_test/Cargo.toml +++ b/alloc_miri_test/Cargo.toml @@ -4,7 +4,7 @@ name = "alloc_miri_test" version = "0.0.0" autotests = false autobenches = false -edition = "2018" +edition = "2021" [lib] name = "alloc_miri_test" diff --git a/core_miri_test/Cargo.toml b/core_miri_test/Cargo.toml index e25c244..ab243d3 100644 --- a/core_miri_test/Cargo.toml +++ b/core_miri_test/Cargo.toml @@ -4,7 +4,7 @@ name = "core_miri_test" version = "0.0.0" autotests = false autobenches = false -edition = "2018" +edition = "2021" [lib] name = "core_miri_test" From 154c6b268e0096b5fae9c0e78704104e0e1726b1 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Tue, 11 Jan 2022 11:31:04 -0800 Subject: [PATCH 2/2] Bump Rust version --- rust-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-version b/rust-version index b719abc..262e9c8 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -nightly-2021-12-31 +nightly-2022-01-11