Skip to content

Commit

Permalink
Set rust MSRV to 1.66
Browse files Browse the repository at this point in the history
Also update CI to test it and ensure future compatibility
  • Loading branch information
dburgener committed Apr 21, 2023
1 parent 41aa6c2 commit c3fbdd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
# informationally check the latest as well. We should
# regularly update the known good once we know that tests
# pass on it
rust-toolchain: [ 1.68, stable, nightly ]
# 1.66 is our MSRV, so we should keep testing on it
rust-toolchain: [ 1.68, stable, nightly, 1.66 ]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ license = "MIT"
repository = "https://github.com/dburgener/cascade"
readme = "README.md"
keywords = [ "selinux" ]
# Rust 1.66 is required by BTreeSet::pop_first()
# https://doc.rust-lang.org/stable/std/collections/struct.BTreeSet.html#method.pop_first
rust-version = "1.66"

[build-dependencies]
lalrpop = "0.19"
Expand Down

0 comments on commit c3fbdd6

Please sign in to comment.