zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit d1cda00b36d687ba2c5df463ffad30c4f7881ee9 (tree)
parent 372b615ace0d92d51521b8b0e347d90400f8f7a1
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Wed,  3 Jul 2019 18:41:52 -0400

workaround for no equality operator for enum literal and tagged union

Diffstat:
Mstd/debug.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/std/debug.zig b/std/debug.zig @@ -2311,7 +2311,7 @@ fn getDebugInfoAllocator() *mem.Allocator { } /// Whether or not the current target can print useful debug information when a segfault occurs. -pub const have_segfault_handling_support = (builtin.arch == .x86_64 and builtin.os == .linux) or builtin.os == .windows; +pub const have_segfault_handling_support = (builtin.arch == builtin.Arch.x86_64 and builtin.os == .linux) or builtin.os == .windows; /// Attaches a global SIGSEGV handler which calls @panic("segmentation fault"); pub fn attachSegfaultHandler() void {