diff --git a/std/mem.zig b/std/mem.zig index 7edca350a051b6957cb06efbb58f5847b55c103f..59b01fab17d6cccfad3d511eb854100cafa61c35 100644 --- 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.