zig

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

commit 3f658879740e3f7aee05be33532b5ba9aaa316bf (tree)
parent ab44939941215a753ca51f7b2d84a90d52bfebcf
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Sun, 17 Dec 2017 20:52:29 -0500

fix std.mem missing error.OutOfMemory decl

this will be fixed in a better way later by #632

Diffstat:
Mstd/mem.zig | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/std/mem.zig b/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.