Work in clippy lint

This commit is contained in:
Johannes Altmanninger
2023-12-31 18:10:32 +01:00
parent 69881f4251
commit 971359876d

View File

@@ -44,7 +44,7 @@ fn main() {
// If FISH_BUILD_DIR is given by CMake, then use it; otherwise assume it's at build.
let fish_build_dir =
std::env::var("FISH_BUILD_DIR").unwrap_or(format!("{}/{}", rust_dir, "build/"));
println!("cargo:rustc-env=FISH_BUILD_DIR={}", fish_build_dir);
println!("cargo:rustc-env=FISH_BUILD_DIR={fish_build_dir}");
// Where autocxx should put its stuff.
let autocxx_gen_dir = std::env::var("FISH_AUTOCXX_GEN_DIR")