diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-05-16 16:29:20 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-05-16 16:41:22 -0700 |
| commit | ae119a9a8d5b8dec21bd314e91afcec122eb8631 (patch) | |
| tree | b47079e19cee86e8f244be48dd29b0666336743d /lib/std/Build/Step/Compile.zig | |
| parent | 2e692312f104e1e5533c9f389d73488ea4a1ef68 (diff) | |
| download | zig-ae119a9a8d5b8dec21bd314e91afcec122eb8631.tar.gz zig-ae119a9a8d5b8dec21bd314e91afcec122eb8631.zip | |
CLI: fix stdin dumping behavior
* no need to move `tmpFilePath` around
* no need for calculating max length of `FileExt` tag name
* provide a canonical file extension name for `FileExt` so that, e.g.
the file will be named `stdin.S` instead of
`stdin.assembly_with_cpp`.
* move temp file cleanup to a function to reduce defer bloat in a large
function.
* fix bug caused by mixing relative and absolute paths in the cleanup
logic.
* remove commented out test and dead code
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
0 files changed, 0 insertions, 0 deletions
