From d1cda00b36d687ba2c5df463ffad30c4f7881ee9 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 3 Jul 2019 18:41:52 -0400 Subject: [PATCH] workaround for no equality operator for enum literal and tagged union --- std/debug.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/debug.zig b/std/debug.zig index c21e2126a7..2cba054043 100644 --- 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 {