Commit 3f65887974

Andrew Kelley <superjoe30@gmail.com>
2017-12-18 02:52:29
fix std.mem missing error.OutOfMemory decl
this will be fixed in a better way later by #632
1 parent ab44939
Changed files (1)
std/mem.zig
@@ -3,6 +3,8 @@ const assert = debug.assert;
 const math = @import("math/index.zig");
 const builtin = @import("builtin");
 
+error OutOfMemory;
+
 pub const Allocator = struct {
     /// Allocate byte_count bytes and return them in a slice, with the
     /// slice's pointer aligned at least to alignment bytes.