Skip to content

Commit

Permalink
Rename fuzz target from autogenerated name to array_ops (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Sep 11, 2024
1 parent cd34a75 commit 0e7b4d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install cargo fuzz
run: cargo install cargo-fuzz
- name: Run fuzzing target
run: RUST_BACKTRACE=1 cargo fuzz run fuzz_target_1 -- -max_total_time=1800
run: RUST_BACKTRACE=1 cargo fuzz run array_ops -- -max_total_time=1800
continue-on-error: true
- name: Archive crash artifacts
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ name = "vortex_fuzz"
path = "src/lib.rs"

[[bin]]
name = "fuzz_target_1"
path = "fuzz_targets/fuzz_target_1.rs"
name = "array_ops"
path = "fuzz_targets/array_ops.rs"
test = false
doc = false
bench = false
2 changes: 1 addition & 1 deletion fuzz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Currently, the only thing required to run the fuzzing targets is [`cargo-fuzz`](

## Reproduce crash from CI

In the case of a crash in the nightly run, you can download the crash artifact and run `cargo-fuzz` with the exact same input with the command `cargo fuzz run fuzz_target_1 <path/to/artifact>`
In the case of a crash in the nightly run, you can download the crash artifact and run `cargo-fuzz` with the exact same input with the command `cargo fuzz run array_ops <path/to/artifact>`
File renamed without changes.

0 comments on commit 0e7b4d8

Please sign in to comment.