zig icon indicating copy to clipboard operation
zig copied to clipboard

stdlib: event loop crashes in single threaded

Open ethernetsellout opened this issue 3 years ago • 0 comments

Zig Version

0.10.0-dev.3315+1a16b7214

Steps to Reproduce

run zig run -fsingle-threaded on this file:

pub const io_mode = .evented;

pub fn main() void {}

Expected Behavior

runs without error

Actual Behavior

Segmentation fault at address 0xffffffffffffffff
panic: async function called in nosuspend scope suspended
Panicked during a panic. Aborting.

ethernetsellout avatar Jul 27 '22 22:07 ethernetsellout