aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorLee Cannon <leecannon@leecannon.xyz>2021-10-29 02:03:15 +0100
committerLee Cannon <leecannon@leecannon.xyz>2021-11-30 23:32:47 +0000
commit75548b50ff23a3de48d166170425001c073d27c1 (patch)
treede47b7ae071228835ce9108f12f0ed9612f729c7 /test/cli.zig
parent47bc13bc597622fc8deffa1c1a45d47dac51eeb0 (diff)
downloadzig-75548b50ff23a3de48d166170425001c073d27c1.tar.gz
zig-75548b50ff23a3de48d166170425001c073d27c1.zip
allocgate: stage 1 and 2 building
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 3f50ebe403..20a2143f51 100644
--- a/test/cli.zig
+++ b/test/cli.zig
@@ -16,7 +16,7 @@ pub fn main() !void {
// skip my own exe name
_ = arg_it.skip();
- a = &arena.allocator;
+ a = arena.getAllocator();
const zig_exe_rel = try (arg_it.next(a) orelse {
std.debug.print("Expected first argument to be path to zig compiler\n", .{});