aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-05-16 16:37:07 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-05-16 16:41:22 -0700
commit233a0d399135cdb581c5c080726c4cacc71695fe (patch)
treeef09ca619a4430877414cc605525e648fe81cdeb /lib/std
parentae119a9a8d5b8dec21bd314e91afcec122eb8631 (diff)
downloadzig-233a0d399135cdb581c5c080726c4cacc71695fe.tar.gz
zig-233a0d399135cdb581c5c080726c4cacc71695fe.zip
CLI: remove cleanup logic for stdin temp file
In one of the happy paths, execve() is used to switch to clang in which case any cleanup logic that exists for this temporary file will not run and this temp file will be leaked. Oh well. It's a minor punishment for using `-x c` which nobody should be doing. Therefore, we make no effort to clean up. Using `-` for stdin as a source file always leaks a temp file. Note that the standard `zig build-exe` CLI does not support stdin as an input file. This is only for `zig cc` C compiler compatibility.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions