| author | |
| committer | |
| log | 3f658879740e3f7aee05be33532b5ba9aaa316bf |
| tree | c080f22a4395009a6d5925b48f3be1f92fe15795 |
| parent | ab44939941215a753ca51f7b2d84a90d52bfebcf |
this will be fixed in a better way later by #6321 files changed, 2 insertions(+), 0 deletions(-)
std/mem.zig+2| ... | ... | @@ -3,6 +3,8 @@ const assert = debug.assert; |
| 3 | 3 | const math = @import("math/index.zig"); |
| 4 | 4 | const builtin = @import("builtin"); |
| 5 | 5 | |
| 6 | error OutOfMemory; | |
| 7 | ||
| 6 | 8 | pub const Allocator = struct { |
| 7 | 9 | /// Allocate byte_count bytes and return them in a slice, with the |
| 8 | 10 | /// slice's pointer aligned at least to alignment bytes. |