Skip to content

Commit 3f65887

Browse files
committedDec 18, 2017
fix std.mem missing error.OutOfMemory decl
this will be fixed in a better way later by #632
·
0.15.20.2.0
1 parent ab44939 commit 3f65887

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎std/mem.zig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ const assert = debug.assert;
33
const math = @import("math/index.zig");
44
const builtin = @import("builtin");
55

6+
error OutOfMemory;
7+
68
pub const Allocator = struct {
79
/// Allocate byte_count bytes and return them in a slice, with the
810
/// slice's pointer aligned at least to alignment bytes.

0 commit comments

Comments
 (0)
Please sign in to comment.