diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-10-08 16:08:05 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-10-10 22:47:47 -0700 |
| commit | 2e31077fe0e021858cf2f92f85e5fcfd12c41501 (patch) | |
| tree | 5f1e04aebfe2e0f440cd3d8426c645d1a723b97b /lib/std/debug.zig | |
| parent | b2bc6073c8ada065906da9e3b5a4a2e7db04c21d (diff) | |
| download | zig-2e31077fe0e021858cf2f92f85e5fcfd12c41501.tar.gz zig-2e31077fe0e021858cf2f92f85e5fcfd12c41501.zip | |
Coff: implement threadlocal variables
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index a1753f1e77..7ac6c45903 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -468,10 +468,6 @@ const use_trap_panic = switch (builtin.zig_backend) { .stage2_wasm, .stage2_x86, => true, - .stage2_x86_64 => switch (builtin.target.ofmt) { - .elf, .macho => false, - else => true, - }, else => false, }; @@ -484,22 +480,6 @@ pub fn defaultPanic( if (use_trap_panic) @trap(); - switch (builtin.zig_backend) { - .stage2_aarch64, - .stage2_arm, - .stage2_powerpc, - .stage2_riscv64, - .stage2_spirv, - .stage2_wasm, - .stage2_x86, - => @trap(), - .stage2_x86_64 => switch (builtin.target.ofmt) { - .elf, .macho => {}, - else => @trap(), - }, - else => {}, - } - switch (builtin.os.tag) { .freestanding, .other => { @trap(); |
