Skip to content

Commit

Permalink
Specify minimum supported rust version and check in CI (#2726)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrmaxmeier authored Nov 26, 2024
1 parent b3ca9a7 commit 6ce447e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,14 @@ jobs:
# fail_on_error: 'true'
# config_file: '.github/.linkspector.yml'

msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
# Note: We currently only specify minimum rust versions for the default workspace members
- run: cargo hack check --rust-version -p libafl -p libafl_bolts -p libafl_derive -p libafl_cc -p libafl_targets

fuzzers-preflight:
runs-on: ubuntu-24.04
steps:
Expand Down
1 change: 1 addition & 0 deletions libafl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ readme = "../README.md"
license = "MIT OR Apache-2.0"
keywords = ["fuzzing", "testing", "security"]
edition = "2021"
rust-version = "1.82"
categories = [
"development-tools::testing",
"emulators",
Expand Down
1 change: 1 addition & 0 deletions libafl_bolts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ readme = "./README.md"
license = "MIT OR Apache-2.0"
keywords = ["fuzzing", "testing", "security"]
edition = "2021"
rust-version = "1.82"
categories = [
"development-tools::testing",
"emulators",
Expand Down
1 change: 1 addition & 0 deletions libafl_cc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["fuzzing", "testing", "compiler"]
edition = "2021"
rust-version = "1.78"
categories = [
"development-tools::testing",
"emulators",
Expand Down
1 change: 1 addition & 0 deletions libafl_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ readme = "../README.md"
license = "MIT OR Apache-2.0"
keywords = ["fuzzing", "testing"]
edition = "2021"
rust-version = "1.78"
categories = [
"development-tools::testing",
"emulators",
Expand Down
1 change: 1 addition & 0 deletions libafl_targets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ readme = "../README.md"
license = "MIT OR Apache-2.0"
keywords = ["fuzzing", "testing"]
edition = "2021"
rust-version = "1.82"
categories = [
"development-tools::testing",
"emulators",
Expand Down

0 comments on commit 6ce447e

Please sign in to comment.