aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorLee Cannon <leecannon@leecannon.xyz>2021-10-29 02:08:41 +0100
committerLee Cannon <leecannon@leecannon.xyz>2021-11-30 23:32:47 +0000
commit1093b09a989edb8553e79b061bb15c5745f5d193 (patch)
tree4e87b6b48410b901239a102f5fbdf859816511d1 /test/cli.zig
parent75548b50ff23a3de48d166170425001c073d27c1 (diff)
downloadzig-1093b09a989edb8553e79b061bb15c5745f5d193.tar.gz
zig-1093b09a989edb8553e79b061bb15c5745f5d193.zip
allocgate: renamed getAllocator function to allocator
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 20a2143f51..d4afe417ce 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.getAllocator();
+ a = arena.allocator();
const zig_exe_rel = try (arg_it.next(a) orelse {
std.debug.print("Expected first argument to be path to zig compiler\n", .{});