From 2a25398c869fcdefe8b6508974a5c463ca833520 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 24 Dec 2017 04:10:26 -0500 Subject: fix segfault when passing union enum with sub byte... ...field to const slice parameter we use a packed struct internally to represent a const array of disparate union values, and needed to update the internal getelementptr instruction to recognize that. closes #664 --- std/debug/index.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/debug/index.zig') diff --git a/std/debug/index.zig b/std/debug/index.zig index 3f722b494d..251b6f6f93 100644 --- a/std/debug/index.zig +++ b/std/debug/index.zig @@ -8,7 +8,7 @@ const DW = std.dwarf; const ArrayList = std.ArrayList; const builtin = @import("builtin"); -pub use @import("./failing_allocator.zig"); +pub const FailingAllocator = @import("failing_allocator.zig").FailingAllocator; error MissingDebugInfo; error InvalidDebugInfo; -- cgit v1.2.3