diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-06-18 07:08:12 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-06-21 15:41:03 -0400 |
| commit | 9be9b8ca902bb7c250a6836c6090af8525464749 (patch) | |
| tree | 466679045dda3c87042f50e42e763a8cddd079f8 /src/Compilation.zig | |
| parent | 451550e86a1461e814da4eea22f78c6a77ab9308 (diff) | |
| download | zig-9be9b8ca902bb7c250a6836c6090af8525464749.tar.gz zig-9be9b8ca902bb7c250a6836c6090af8525464749.zip | |
std.Build.findProgram(): Try with and without the Windows executable extensions.
I renamed std.process.Child.CreateProcessSupportedExtension to WindowsExtension
and made it public to avoid duplicating the list of extensions.
While here, I also improved it to not misreport OOM from std.fs.realpathAlloc()
as a generic failure to find the program, but instead panic like the rest of the
build system does for OOM.
Closes #20314.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
