ci(fuzz): drop --locked on cargo install cargo-fuzz
cargo-fuzz's bundled Cargo.lock pinned rustix=0.36.5, which used the now-removed `rustc_attrs` cfg name and broke the install step on current nightly toolchain (the only toolchain that can build the fuzzers via libfuzzer-sys). Letting cargo resolve fresh picks a recent rustix that builds cleanly. Fixes the fuzz-smoke matrix on the v0.4.0 push CI run.
This commit is contained in:
@@ -104,6 +104,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
workspaces: fuzz -> target
|
workspaces: fuzz -> target
|
||||||
- name: Install cargo-fuzz
|
- name: Install cargo-fuzz
|
||||||
run: cargo install cargo-fuzz --locked
|
# No `--locked`: cargo-fuzz's bundled Cargo.lock pins
|
||||||
|
# rustix=0.36.5, which uses the now-removed `rustc_attrs` cfg
|
||||||
|
# name and fails to build on current nightly. Letting cargo
|
||||||
|
# resolve fresh picks a recent rustix that builds cleanly.
|
||||||
|
run: cargo install cargo-fuzz
|
||||||
- name: 60-second soak
|
- name: 60-second soak
|
||||||
run: cargo fuzz run ${{ matrix.target }} -- -max_total_time=60
|
run: cargo fuzz run ${{ matrix.target }} -- -max_total_time=60
|
||||||
|
|||||||
Reference in New Issue
Block a user