diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-10-02 15:31:11 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-10-03 07:10:43 -0700 |
| commit | 01126075322b6661990044a0a6deaae70b3c1001 (patch) | |
| tree | 3cb8d4516b0aa14c7f4f6583cb8cf4d5d7af1ffe /pkg | |
| parent | d59d754e29857365940f5e5c2d732b52e8fc00e9 (diff) | |
Zig 0.15: zig build test macOS
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/macos/os/log.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/macos/os/log.zig b/pkg/macos/os/log.zig index 32ecb3296..219c914da 100644 --- a/pkg/macos/os/log.zig +++ b/pkg/macos/os/log.zig @@ -32,10 +32,11 @@ pub const Log = opaque { comptime format: []const u8, args: anytype, ) void { - const str = nosuspend std.fmt.allocPrintZ( + const str = nosuspend std.fmt.allocPrintSentinel( alloc, format, args, + 0, ) catch return; defer alloc.free(str); zig_os_log_with_type(self, typ, str.ptr); |
