From 7d35930b0c45424131cb1df9feb229604bc3b5f9 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Tue, 7 Jan 2025 19:50:07 +0900 Subject: [PATCH] Refactor --- build.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.rs b/build.rs index b9a5fdf..5d242fc 100644 --- a/build.rs +++ b/build.rs @@ -123,9 +123,8 @@ fn llvm_config(argument: &str) -> Result> { .map(|path| Path::new(&path).join("bin")) .unwrap_or_default(); let call = format!( - "{} --link-static {}", - prefix.join("llvm-config").display(), - argument + "{} --link-static {argument}", + prefix.join("llvm-config").display() ); Ok(str::from_utf8(