fix format issues, needs precommit hook

This commit is contained in:
geoffsee
2025-08-31 13:24:51 -04:00
parent 0580dc8c5e
commit 7bc9479a11
3 changed files with 35 additions and 34 deletions

View File

@@ -17,10 +17,6 @@ fn main() {
}
}
fn run_build() -> io::Result<()> {
let manifest_dir =
PathBuf::from(env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR not set"));
@@ -33,7 +29,9 @@ fn run_build() -> io::Result<()> {
// Optional: warn if using a Bun target thats marked unsupported in your chart
if matches!(bun_tgt, BunTarget::WindowsArm64) {
println!("cargo:warning=bun-windows-arm64 is marked unsupported in the compatibility chart");
println!(
"cargo:warning=bun-windows-arm64 is marked unsupported in the compatibility chart"
);
}
warn(&format!("Building CLI into: {}", output_path.display()));
@@ -64,9 +62,6 @@ fn run_build() -> io::Result<()> {
let target = env::var("TARGET").unwrap();
// --- bun build (in ./package), emit to OUT_DIR, keep temps inside OUT_DIR ---
let mut build = Command::new("bun")
.current_dir(&package_dir)