const std = @import("std");
pub const io_mode: std.io.Mode = .evented;
fn bleh() noreturn {
std.io.getStdOut().writer().writeAll("x") catch {};
unreachable;
}
pub fn main() !void {
bleh();
}
produces the following output from the compiler:
broken LLVM module found: Basic Block in function 'main' does not have terminator!
label %OkResume
This is a bug in the Zig compiler.
Unable to dump stack trace: debug info stripped
produces the following output from the compiler: