Last and great fmt for fuzzbench

This commit is contained in:
Andrea Fioraldi 2021-06-21 17:56:09 +02:00
parent abed61cc49
commit 57d6df7951

View File

@ -17,7 +17,8 @@ fn main() {
let mut cc = ClangWrapper::new("clang", "clang++");
if let Some(code) = cc.is_cpp(is_cpp)
if let Some(code) = cc
.is_cpp(is_cpp)
.from_args(&args)
.unwrap()
.link_staticlib(&dir, "fuzzbench".into())
@ -27,8 +28,9 @@ fn main() {
// silence the compiler wrapper output, needed for some configure scripts.
.silence()
.run()
.unwrap() {
std::process::exit(code);
.unwrap()
{
std::process::exit(code);
}
} else {
panic!("LibAFL CC: No Arguments given");