Skip to content

Commit c0e8fdd

Browse files
committed
Update to Zig 0.15.0-dev.1092+d772c0627
1 parent abfbaae commit c0e8fdd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
.fingerprint = 0x645cd3e2b3f03958,
77

8-
.minimum_zig_version = "0.14.0",
8+
.minimum_zig_version = "0.15.0-dev.1092+d772c0627",
99

1010
.dependencies = .{},
1111

src/root.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ fn getDllIncludes(dll_name: DllName) *const DllIncludes {
156156

157157
fn logUnlinkableFunction(name: []const u8, path: []const u16) void {
158158
@branchHint(.cold);
159-
logger.warn("Failed to locate function {s} in {s}", .{ name, std.unicode.fmtUtf16Le(path) });
159+
logger.warn("Failed to locate function {s} in {f}", .{ name, std.unicode.fmtUtf16Le(path) });
160160
}
161161

162162
fn loadFunctions(dll: std.os.windows.HMODULE, path: []const u16, dll_name: DllName) void {
@@ -208,10 +208,10 @@ pub fn loadProxy(module: std.os.windows.HMODULE) !void {
208208
const module_name = paths.getFileName(u16, module_path);
209209

210210
const dll_name = findDllMatch(module_name) orelse {
211-
logger.debug("{} is not supported for proxying", .{std.unicode.fmtUtf16Le(module_name)});
211+
logger.debug("{f} is not supported for proxying", .{std.unicode.fmtUtf16Le(module_name)});
212212
return error.UnsupportedName;
213213
};
214-
logger.debug("Detected injection as supported proxy {}. Loading actual.", .{std.unicode.fmtUtf16Le(module_name)});
214+
logger.debug("Detected injection as supported proxy {f}. Loading actual.", .{std.unicode.fmtUtf16Le(module_name)});
215215

216216
// sys_len includes null-terminator
217217
const sys_len = std.os.windows.kernel32.GetSystemDirectoryW(empty(u16), 0);
@@ -226,7 +226,7 @@ pub fn loadProxy(module: std.os.windows.HMODULE) !void {
226226
sys_full_path_buf[sys_len + module_name.len] = 0;
227227
const sys_full_path = sys_full_path_buf[0 .. sys_len + module_name.len :0];
228228

229-
logger.debug("Looking for actual DLL at {}", .{std.unicode.fmtUtf16Le(sys_full_path)});
229+
logger.debug("Looking for actual DLL at {f}", .{std.unicode.fmtUtf16Le(sys_full_path)});
230230

231231
const handle = try std.os.windows.LoadLibraryW(sys_full_path);
232232

0 commit comments

Comments
 (0)