Trying to use a Timeout with multi or complete leads to a compile error:
src/coro/io.zig:33:15: error: cannot store runtime value in compile time variable
op.userdata = @intFromPtr(ctx);
~~^~~~~~~~~
This is with the latest zig-aio 2b91534 and zig: 0.14.0-dev.2218+862266514, the same error also occurs with zig 0.13.0 and the head of the zig-0.13 branch.
Managed to reduce it down to this, but was trying to combine the Timeout with Send.
Trying to use a
Timeout
withmulti
orcomplete
leads to a compile error:This is with the latest zig-aio 2b91534 and zig:
0.14.0-dev.2218+862266514
, the same error also occurs with zig 0.13.0 and the head of the zig-0.13 branch.Managed to reduce it down to this, but was trying to combine the
Timeout
withSend
.