Skip to content

Commit

Permalink
moving to LLVM 19 for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
riesentoaster committed Nov 8, 2024
1 parent aa8e499 commit 7986a8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/libafl_fmt/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use tokio::{process::Command, task::JoinSet};
use walkdir::{DirEntry, WalkDir};
use which::which;

const REF_LLVM_VERSION: u32 = 18;
const REF_LLVM_VERSION: u32 = 19;

fn is_workspace_toml(path: &Path) -> bool {
for line in read_to_string(path).unwrap().lines() {
Expand Down Expand Up @@ -254,7 +254,6 @@ async fn main() -> io::Result<()> {
let unspecified_clang_format = "clang-format";

let (clang, warning) = if which(&reference_clang_format).is_ok() {
// can't use 18 for ci.
(Some(reference_clang_format.as_str()), None)
} else if which(unspecified_clang_format).is_ok() {
let version = Command::new(unspecified_clang_format)
Expand Down

0 comments on commit 7986a8a

Please sign in to comment.