Fix a regression in a macOS workaround

This commit is contained in:
Richard Feldman 2022-11-22 21:12:40 -05:00
parent f1021ffd45
commit 96d3ab99e5
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -121,7 +121,7 @@ fn generate_bc_file(bitcode_path: &Path, zig_object: &str, file_name: &str) {
// workaround for github.com/ziglang/zig/issues/9711
#[cfg(target_os = "macos")]
let _ = fs::remove_dir_all(bitcode_path.join("zig-cache"));
let _ = fs::remove_dir_all("./bitcode/zig-cache");
let mut zig_cmd = zig();