From 7be87fc4eaba081d7d3163691531221c3506915c Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Thu, 29 Feb 2024 00:35:04 +0100 Subject: [PATCH] test: fixes for latest zig libstd changes --- test/test.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.zig b/test/test.zig index a77aa910..113ad855 100644 --- a/test/test.zig +++ b/test/test.zig @@ -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");