From 8a7737eef4f9f5fd3e6d318b6985e1bf6a364438 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 24 Sep 2018 12:01:51 -0400 Subject: fix godbolt cli test on non-linux-x86_64 hosts --- test/cli.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/cli.zig') diff --git a/test/cli.zig b/test/cli.zig index 45e961053b..5a2a51bbfd 100644 --- a/test/cli.zig +++ b/test/cli.zig @@ -96,7 +96,7 @@ fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void { assertOrPanic(std.mem.eql(u8, run_result.stderr, "All your base are belong to us.\n")); } -fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) !void { +fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) error!void { if (builtin.os != builtin.Os.linux or builtin.arch != builtin.Arch.x86_64) return; const example_zig_path = try os.path.join(a, dir_path, "example.zig"); -- cgit v1.2.3