fix godbolt cli test on non-linux-x86_64 hosts
This commit is contained in:
parent
6d048aa3bf
commit
8a7737eef4
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user