build: update to zig 0.14.0-dev.3039

This commit is contained in:
CJ van den Berg 2025-02-04 22:59:18 +01:00
parent 1764b3259c
commit 53045123c6
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
41 changed files with 648 additions and 623 deletions

View file

@ -1,8 +1,6 @@
const std = @import("std");
const tp = @import("thespian");
const fba = std.heap.FixedBufferAllocator;
const Self = @This();
pub const max_log_message = tp.max_message_size - 128;
@ -11,7 +9,7 @@ allocator: std.mem.Allocator,
receiver: Receiver,
subscriber: ?tp.pid,
heap: [32 + 1024]u8,
fba: fba,
fba: std.heap.FixedBufferAllocator,
msg_store: MsgStoreT,
const MsgStoreT = std.DoublyLinkedList([]u8);
@ -39,7 +37,7 @@ fn init(args: StartArgs) !*Self {
.receiver = Receiver.init(Self.receive, p),
.subscriber = null,
.heap = undefined,
.fba = fba.init(&p.heap),
.fba = std.heap.FixedBufferAllocator.init(&p.heap),
.msg_store = MsgStoreT{},
};
return p;