aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-11-25 17:25:06 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-11-25 17:25:06 -0500
commitcb38bd0a1436bd18de8ed57c45ffc890c8ddfb78 (patch)
treec695fdb19e30581b8227ab286ce0a3b35971f34c /test/cli.zig
parent35d65cceb8aa4360accc0db30b2b1448159e7d26 (diff)
downloadzig-cb38bd0a1436bd18de8ed57c45ffc890c8ddfb78.tar.gz
zig-cb38bd0a1436bd18de8ed57c45ffc890c8ddfb78.zip
rename std.heap.direct_allocator to std.heap.page_allocator
std.heap.direct_allocator is still available for now but it is marked deprecated.
Diffstat (limited to 'test/cli.zig')
-rw-r--r--test/cli.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cli.zig b/test/cli.zig
index e6d8d08e84..0820870412 100644
--- a/test/cli.zig
+++ b/test/cli.zig
@@ -8,7 +8,7 @@ const ChildProcess = std.ChildProcess;
var a: *std.mem.Allocator = undefined;
pub fn main() !void {
- var arena = std.heap.ArenaAllocator.init(std.heap.direct_allocator);
+ var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
defer arena.deinit();
var arg_it = process.args();