Skip to content

Commit

Permalink
forgot to add format for llvm_config
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoproduit committed Oct 11, 2023
1 parent b5eeedb commit 8c1b71d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cargo-afl/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,5 @@ pub fn get_llvm_config() -> String {
// This is needed to compile the llvm plugins (needed for cmplog) from afl with the right LLVM version
let version_meta = rustc_version::version_meta().unwrap();
let llvm_version = version_meta.llvm_version.unwrap().major.to_string();
let mut llvm_config = "llvm-config-".to_string();
llvm_config.push_str(&llvm_version);
llvm_config
format!("llvm-config-{llvm_version}")
}

0 comments on commit 8c1b71d

Please sign in to comment.