Clean up warnings in baby_fuzzers (#1981)

This commit is contained in:
Marco C 2024-03-29 15:14:17 +01:00 committed by GitHub
parent 1fc5ba63fa
commit 15aabfe65d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ fn main() -> anyhow::Result<()> {
let bindings = bindgen::builder()
.header("first.h")
.header("second.h")
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.generate()?;
// Write the generated bindings to an output file.

View File

@ -1,6 +1,6 @@
use std::env;
use libafl_cc::{ClangWrapper, CompilerWrapper, ToolWrapper};
use libafl_cc::{ClangWrapper, ToolWrapper};
pub fn main() {
let args: Vec<String> = env::args().collect();

View File

@ -1,6 +1,6 @@
#[cfg(windows)]
use std::ptr::write_volatile;
use std::{path::PathBuf, ptr::write, time::Duration};
use std::{path::PathBuf, ptr::write};
use libafl::{
corpus::{InMemoryCorpus, OnDiskCorpus},