Skip to content

Commit

Permalink
Remove .intentionally-empty-file.o file
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jan 11, 2025
1 parent 1b384b8 commit 9b32a1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/zig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,9 @@ impl Zig {
.arg("-E")
.arg(&empty_file_path)
.arg("-v")
.output()?;
.output();
fs::remove_file(&empty_file_path).ok();
let output = output?;
// Clang always generates UTF-8 regardless of locale, so this is okay.
let stderr = String::from_utf8(output.stderr)?;
if !output.status.success() {
Expand Down

0 comments on commit 9b32a1f

Please sign in to comment.