From 01bb4fee8c45caee757b3bdc5432fd88dbcdfca3 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 15 Sep 2026 18:02:43 +0200 Subject: fuzz: change names to have dashes instead of underscore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From the latest update of Rust's stable channel, this was raised as a bad format for fuzz names. Signed-off-by: Miquel Sabaté Solà --- lib/header/fuzz/Cargo.toml | 4 ++-- lib/header/fuzz/fuzz_targets/fuzz-target-header.rs | 7 +++++++ lib/header/fuzz/fuzz_targets/fuzz_target_header.rs | 7 ------- 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 lib/header/fuzz/fuzz_targets/fuzz-target-header.rs delete mode 100644 lib/header/fuzz/fuzz_targets/fuzz_target_header.rs (limited to 'lib/header') diff --git a/lib/header/fuzz/Cargo.toml b/lib/header/fuzz/Cargo.toml index ea78c24..752a72c 100644 --- a/lib/header/fuzz/Cargo.toml +++ b/lib/header/fuzz/Cargo.toml @@ -17,8 +17,8 @@ libfuzzer-sys = "0.4" path = ".." [[bin]] -name = "fuzz_target_header" -path = "fuzz_targets/fuzz_target_header.rs" +name = "fuzz-target-header" +path = "fuzz_targets/fuzz-target-header.rs" test = false doc = false bench = false diff --git a/lib/header/fuzz/fuzz_targets/fuzz-target-header.rs b/lib/header/fuzz/fuzz_targets/fuzz-target-header.rs new file mode 100644 index 0000000..794853a --- /dev/null +++ b/lib/header/fuzz/fuzz_targets/fuzz-target-header.rs @@ -0,0 +1,7 @@ +#![no_main] + +use libfuzzer_sys::fuzz_target; + +fuzz_target!(|data: &[u8]| { + let _ = header::Header::try_from(data); +}); diff --git a/lib/header/fuzz/fuzz_targets/fuzz_target_header.rs b/lib/header/fuzz/fuzz_targets/fuzz_target_header.rs deleted file mode 100644 index 794853a..0000000 --- a/lib/header/fuzz/fuzz_targets/fuzz_target_header.rs +++ /dev/null @@ -1,7 +0,0 @@ -#![no_main] - -use libfuzzer_sys::fuzz_target; - -fuzz_target!(|data: &[u8]| { - let _ = header::Header::try_from(data); -}); -- cgit v1.2.3