diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-09-13 20:08:44 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-13 20:11:35 -0700 |
| commit | 5529febab056c870f7b2a123b0645b5e3b1146c9 (patch) | |
| tree | a0e71a36908a9ab4e83e50dd5b96812561dade34 /lib/std/start.zig | |
| parent | f011f13933b72f4d63a5f635c7646b68beee726e (diff) | |
| download | zig-5529febab056c870f7b2a123b0645b5e3b1146c9.tar.gz zig-5529febab056c870f7b2a123b0645b5e3b1146c9.zip | |
stage2: implement Value.copy for structs and unions
The stage2_os hack inside `@import("builtin")` is no longer needed.
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index ac592e26ed..d8e5796d37 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -92,7 +92,7 @@ fn _start2() callconv(.Naked) noreturn { } fn exit2(code: usize) noreturn { - switch (builtin.stage2_os) { + switch (native_os) { .linux => switch (builtin.stage2_arch) { .x86_64 => { asm volatile ("syscall" |
