diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 27ffe7c362..3117eb5bc1 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -21,6 +21,7 @@ jobs: with: profile: minimal toolchain: stable + - uses: Swatinem/rust-cache@v1 - name: Add clippy run: rustup component add clippy #- name: Run clippy @@ -37,6 +38,7 @@ jobs: with: profile: minimal toolchain: stable + - uses: Swatinem/rust-cache@v1 - name: Install deps run: sudo apt-get install -y llvm llvm-dev clang - name: get clang version @@ -71,6 +73,7 @@ jobs: with: profile: minimal toolchain: stable + - uses: Swatinem/rust-cache@v1 - name: Add nightly rustfmt and clippy run: rustup toolchain install nightly --component rustfmt --component clippy --allow-downgrade - name: Install deps @@ -85,6 +88,7 @@ jobs: with: profile: minimal toolchain: nightly + - uses: Swatinem/rust-cache@v1 - name: Add nightly rustfmt and clippy run: rustup toolchain install nightly && rustup target add --toolchain nightly aarch64-unknown-none && rustup component add --toolchain nightly rust-src - name: Build aarch64-unknown-none @@ -105,6 +109,7 @@ jobs: with: profile: minimal toolchain: stable + - uses: Swatinem/rust-cache@v1 - name: Windows Build run: cargo build --verbose - name: Run clippy @@ -119,6 +124,7 @@ jobs: with: profile: minimal toolchain: stable + - uses: Swatinem/rust-cache@v1 - name: MacOS Build run: cargo build --verbose - name: Run clippy @@ -135,6 +141,7 @@ jobs: with: profile: minimal toolchain: stable + - uses: Swatinem/rust-cache@v1 - name: Add nightly rustfmt and clippy run: rustup toolchain install nightly --component rustfmt --component clippy --allow-downgrade - name: Install deps diff --git a/fuzzers/forkserver_simple/src/main.rs b/fuzzers/forkserver_simple/src/main.rs index 79eb67e9dc..efa40c6d47 100644 --- a/fuzzers/forkserver_simple/src/main.rs +++ b/fuzzers/forkserver_simple/src/main.rs @@ -12,7 +12,7 @@ use libafl::{ }, events::SimpleEventManager, executors::forkserver::{ForkserverExecutor, TimeoutForkserverExecutor}, - feedback_and, feedback_and_fast, feedback_or, + feedback_and_fast, feedback_or, feedbacks::{CrashFeedback, MapFeedbackState, MaxMapFeedback, TimeFeedback}, fuzzer::{Fuzzer, StdFuzzer}, inputs::BytesInput, diff --git a/scripts/dummy.rs b/scripts/dummy.rs index 460eb3c58c..7a0f064f28 100644 --- a/scripts/dummy.rs +++ b/scripts/dummy.rs @@ -1,3 +1,5 @@ /// Dummy file for Docker build caching -fn main() {} \ No newline at end of file +/// Just here as dummy in docker +#[allow(dead_code)] +fn main() { panic!("This is the CI dummy file - it should never run!") } \ No newline at end of file