fn statusUpdateMessage(msg_bytes: []u8) Allocator.Error!void
fn statusUpdateMessage(msg_bytes: []u8) Allocator.Error!void { if (msg_bytes.len < @sizeOf(abi.StatusUpdate)) @panic("malformed StatusUpdate message"); const msg: *const abi.StatusUpdate = @ptrCast(msg_bytes[0..@sizeOf(abi.StatusUpdate)]); js.updateBuildStatus(msg.new); }