From 30f04801d33fa479999bdab0deaeb33915d8b3e7 Mon Sep 17 00:00:00 2001 From: Eyal Kalderon Date: Thu, 10 Feb 2022 22:33:49 -0500 Subject: [PATCH] Change minimum Rust version to 1.49.0 This is necessary to resolve some compile errors on `master` currently. ``` error[E0658]: use of unstable library feature 'renamed_spin_loop' Error: --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.9.1/src/spinwait.rs:9:5 | 9 | use core::hint::spin_loop; | ^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #55002 for more information error[E0658]: use of unstable library feature 'renamed_spin_loop' Error: --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.9.1/src/spinwait.rs:16:9 | 16 | spin_loop() | ^^^^^^^^^ | = note: see issue #55002 for more information error: aborting due to 2 previous errors ``` --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3fb380e2..ac07c9dc 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - rust-version: [1.46.0, beta, nightly] + rust-version: [1.49.0, beta, nightly] include: - rust-version: nightly continue-on-error: true