Skip to content

Commit

Permalink
chore: fix compilation of fuzz targets (#12980)
Browse files Browse the repository at this point in the history
Fixes a CI job that runs on master branch only
  • Loading branch information
nagisa authored Mar 7, 2025
1 parent 01373eb commit 48fcab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ pub use near_primitives_core::chains;
fn failing_fuzzer() {
// This fuzzer always fails. It is used as a sanity-check that our clusterfuzz instance
// is working properly, as it has silently stopped working quite a few times already.
bolero::check!().for_each(|_| panic!("The expected-to-fail fuzzer actually failed"))
bolero::check!().for_each(|_| -> () { panic!("The expected-to-fail fuzzer actually failed") })
}

0 comments on commit 48fcab9

Please sign in to comment.