aboutsummaryrefslogtreecommitdiff
path: root/std/debug/index.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-12-24 04:10:26 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-12-24 04:11:58 -0500
commit2a25398c869fcdefe8b6508974a5c463ca833520 (patch)
treecab802b768a4b2559a234c2a29c301435678bac3 /std/debug/index.zig
parent86397a532ec3c6699c39c8eeb966cd56b66c6c96 (diff)
downloadzig-2a25398c869fcdefe8b6508974a5c463ca833520.tar.gz
zig-2a25398c869fcdefe8b6508974a5c463ca833520.zip
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
Diffstat (limited to 'std/debug/index.zig')
-rw-r--r--std/debug/index.zig2
1 files changed, 1 insertions, 1 deletions
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;