Skip to content

Commit

Permalink
Change minimum Rust version to 1.49.0
Browse files Browse the repository at this point in the history
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 <rust-lang/rust#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 <rust-lang/rust#55002> for more information

error: aborting due to 2 previous errors
```
  • Loading branch information
ebkalderon committed Feb 11, 2022
1 parent 882b173 commit 30f0480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30f0480

Please sign in to comment.