Skip to content

Commit bd1455b

Browse files
committed
progress
1 parent b299a29 commit bd1455b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/pgt_query/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ fn compile_c_if_needed(layout: &Layout, is_emscripten: bool, target: &str) {
227227
}
228228
}
229229

230-
println!("cargo:rustc-link-lib=static={}", LIB_NAME);
230+
println!("cargo:rustc-link-lib=static={LIB_NAME}");
231231
cc.compile(LIB_NAME);
232232
}
233233

@@ -241,7 +241,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
241241
println!("cargo:rustc-link-search=native={}", out_dir.display());
242242

243243
let layout = if let Ok(p) = env::var("LIBPG_QUERY_PATH") {
244-
println!("using system libpg_query at {}", p);
244+
println!("using system libpg_query at {p}");
245245
system_layout(Path::new(&p))?
246246
} else {
247247
println!("using vendored libpg_query (submodule)");
@@ -251,7 +251,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
251251

252252
if let Some(lib_dir) = &layout.lib_dir {
253253
println!("cargo:rustc-link-search=native={}", lib_dir.display());
254-
println!("cargo:rustc-link-lib={}", LIB_NAME);
254+
println!("cargo:rustc-link-lib={LIB_NAME}");
255255
}
256256

257257
compile_c_if_needed(&layout, is_emscripten, &target);

0 commit comments

Comments
 (0)