diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-12-15 04:19:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-15 14:23:32 -0700 |
| commit | 877a1f2a2986e02269c64a05456dff521da27ac1 (patch) | |
| tree | f942b400d4edf23e64b70f81b3ce4660c542e924 /lib/std/Thread | |
| parent | 3532abe0c605746e048dae4bf31d0167151bbfd7 (diff) | |
| download | zig-877a1f2a2986e02269c64a05456dff521da27ac1.tar.gz zig-877a1f2a2986e02269c64a05456dff521da27ac1.zip | |
std.os: fix error codes for execve
execve can return EBADLIB on Linux. I observed this when passing
an x86_64 interpreter path to qemu-i386.
This error code is Linux and Solaris-only. I came up with an improved
pattern for dealing with OS-specific error codes.
Diffstat (limited to 'lib/std/Thread')
0 files changed, 0 insertions, 0 deletions
