diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index dcd9e16dc8..c72bb5e32d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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: diff --git a/libafl/Cargo.toml b/libafl/Cargo.toml index 7435c86a0c..9c3aa8fabd 100644 --- a/libafl/Cargo.toml +++ b/libafl/Cargo.toml @@ -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", diff --git a/libafl_bolts/Cargo.toml b/libafl_bolts/Cargo.toml index 670e622773..d0e0a897dd 100644 --- a/libafl_bolts/Cargo.toml +++ b/libafl_bolts/Cargo.toml @@ -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", diff --git a/libafl_cc/Cargo.toml b/libafl_cc/Cargo.toml index 447a209a97..5c89b8c39d 100644 --- a/libafl_cc/Cargo.toml +++ b/libafl_cc/Cargo.toml @@ -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", diff --git a/libafl_derive/Cargo.toml b/libafl_derive/Cargo.toml index 41b555c9cd..2cc461b66c 100644 --- a/libafl_derive/Cargo.toml +++ b/libafl_derive/Cargo.toml @@ -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", diff --git a/libafl_targets/Cargo.toml b/libafl_targets/Cargo.toml index 43ce6e2c6a..8a5f741b90 100644 --- a/libafl_targets/Cargo.toml +++ b/libafl_targets/Cargo.toml @@ -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",