attempt more zig cache clearing

This commit is contained in:
Brendan Hansknecht 2024-12-12 18:55:43 -08:00
parent 5a326f1a80
commit de18f25a65
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -70,6 +70,10 @@ fn generate_object_file(bitcode_path: &Path, zig_object: &str, object_file_name:
println!("Compiling zig object `{zig_object}` to: {src_obj}");
// workaround for github.com/ziglang/zig/issues/20501
#[cfg(target_os = "macos")]
let _ = fs::remove_dir_all("./.zig-cache");
let mut zig_cmd = zig();
zig_cmd