Allocgate 2.0 slain (#791)
* Allocgate 2.0 slain * Tests now compile, but they fail * Temporary bruteforce
This commit is contained in:
@@ -195,7 +195,7 @@ const Builder = struct {
|
||||
self.previous_position = start;
|
||||
}
|
||||
|
||||
fn toOwnedSlice(self: *Builder) []u32 {
|
||||
fn toOwnedSlice(self: *Builder) error{OutOfMemory}![]u32 {
|
||||
return self.arr.toOwnedSlice(self.arena.allocator());
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user