mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
fix std.mem missing error.OutOfMemory decl
this will be fixed in a better way later by #632
This commit is contained in:
parent
ab44939941
commit
3f65887974
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user