Skip to content

Commit

Permalink
test: fixes for latest zig libstd changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Feb 28, 2024
1 parent 11b706a commit 7be87fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn addTests(b: *Build, comp: *Compile, build_opts: struct {
};
const cc_override: ?[]const u8 = std.process.getEnvVarOwned(b.allocator, "CC") catch |e| switch (e) {
error.EnvironmentVariableNotFound => null,
error.InvalidUtf8 => @panic("InvalidUtf8"),
error.InvalidWtf8 => @panic("InvalidWtf8"),
error.OutOfMemory => @panic("OOM"),
};
const zld = WriteFile.create(b).addCopyFile(comp.getEmittedBin(), "ld");
Expand Down

0 comments on commit 7be87fc

Please sign in to comment.