mirror of
https://github.com/ziglang/zig.git
synced 2025-12-10 16:23:07 +00:00
This reverts commit f88b523065fbb8afbd723fd6e803ace0334b713c. Let's please go through the language proposal process for this change. I don't see any justification for this breaking change even in the commit message.
10 lines
144 B
Zig
10 lines
144 B
Zig
export fn entry() void {
|
|
comptime @trap();
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :2:14: error: encountered @trap at comptime
|