authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-09 08:19:07+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-10 08:36:07+02:00
logc3cb062d03d9c4eced740b61a76e6c746d67db8e
tree8f528d242f1ed2fbbccee7d6fe1ad2704684a175
parenta3fe5cb793759d2b9526ac8b7ad96e30a08813d8
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test-standalone: remove issue_339

I don't think this provides any useful coverage nowadays.

3 files changed, 0 insertions(+), 39 deletions(-)

test/standalone/build.zig.zon-3
......@@ -30,9 +30,6 @@
3030 .static_c_lib = .{
3131 .path = "static_c_lib",
3232 },
33 .issue_339 = .{
34 .path = "issue_339",
35 },
3633 .compile_asm = .{
3734 .path = "compile_asm",
3835 },
test/standalone/issue_339/build.zig deleted-23
......@@ -1,23 +0,0 @@
1const std = @import("std");
2
3pub fn build(b: *std.Build) void {
4 const test_step = b.step("test", "Test it");
5 b.default_step = test_step;
6
7 const optimize: std.builtin.Optimize = .debug;
8 const target = b.graph.host;
9
10 const obj = b.addObject(.{
11 .name = "test",
12 .root_module = b.createModule(.{
13 .root_source_file = b.path("test.zig"),
14 .target = target,
15 .optimize = optimize,
16 }),
17 });
18
19 // TODO: actually check the output
20 _ = obj.getEmittedBin();
21
22 test_step.dependOn(&obj.step);
23}
test/standalone/issue_339/test.zig deleted-13
......@@ -1,13 +0,0 @@
1const StackTrace = @import("std").builtin.StackTrace;
2pub fn panic(msg: []const u8, stack_trace: ?*StackTrace, _: ?usize) noreturn {
3 _ = msg;
4 _ = stack_trace;
5 @breakpoint();
6 while (true) {}
7}
8
9fn bar() anyerror!void {}
10
11export fn foo() void {
12 bar() catch unreachable;
13}