Skip to content

Commit

Permalink
better msg, clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rmalmain committed Feb 17, 2025
1 parent 8a078e5 commit a5b1cea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libafl_cc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,7 @@ pub const LIBAFL_CC_LLVM_VERSION: Option<usize> = None;
found = false;
}

if !found {
panic!("\n\tOne of the LLVM dependencies has not been found.\n\tThe following search directory was considered: {}\n", bindir_path.display());
}
assert!(found, "\n\tAt least one of the LLVM dependencies could not be found.\n\tThe following search directory was considered: {}\n", bindir_path.display());

let cxxflags = if let Ok(flags) = llvm_cxxflags {
flags
Expand Down

0 comments on commit a5b1cea

Please sign in to comment.