diff options
| author | ominitay <37453713+ominitay@users.noreply.github.com> | 2022-01-30 13:22:49 +0000 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-02-14 22:44:17 +0200 |
| commit | 7b938767bb18535a870d0460c9f4d9e3d93ab053 (patch) | |
| tree | f885eeb9b7a76e02a8fa1c086eb0cfa696a6819d /lib/std/Thread.zig | |
| parent | 1e49d1fca89a0fce1604a8188257fa6ea2749338 (diff) | |
| download | zig-7b938767bb18535a870d0460c9f4d9e3d93ab053.tar.gz zig-7b938767bb18535a870d0460c9f4d9e3d93ab053.zip | |
std.os: throw compile error for `argv` on Windows
On Windows, `argv` is not populated by start code, and instead left as undefined. This is problematic, and can lead to incorrect programs compiling, but panicking when trying to access `argv`. This change causes these programs to produce a compile error on Windows instead, which is far preferable to a runtime panic.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions
