diff --git a/test/standalone/build.zig.zon b/test/standalone/build.zig.zon index d5489dbf828e89040ca2233fd3bfdf57a7e91366..39c2d3d3651d5d105814981d73cfd671da284e96 100644 --- a/test/standalone/build.zig.zon +++ b/test/standalone/build.zig.zon @@ -30,9 +30,6 @@ .static_c_lib = .{ .path = "static_c_lib", }, - .issue_339 = .{ - .path = "issue_339", - }, .compile_asm = .{ .path = "compile_asm", }, diff --git a/test/standalone/issue_339/build.zig b/test/standalone/issue_339/build.zig deleted file mode 100644 index 6e2ed10d4477f9fe9b9c8687fe7a081541d2d5eb..0000000000000000000000000000000000000000 --- a/test/standalone/issue_339/build.zig +++ /dev/null @@ -1,23 +0,0 @@ -const std = @import("std"); - -pub fn build(b: *std.Build) void { - const test_step = b.step("test", "Test it"); - b.default_step = test_step; - - const optimize: std.builtin.Optimize = .debug; - const target = b.graph.host; - - const obj = b.addObject(.{ - .name = "test", - .root_module = b.createModule(.{ - .root_source_file = b.path("test.zig"), - .target = target, - .optimize = optimize, - }), - }); - - // TODO: actually check the output - _ = obj.getEmittedBin(); - - test_step.dependOn(&obj.step); -} diff --git a/test/standalone/issue_339/test.zig b/test/standalone/issue_339/test.zig deleted file mode 100644 index e28839209c1988a68fb46c269a32d5d0b311cfd5..0000000000000000000000000000000000000000 --- a/test/standalone/issue_339/test.zig +++ /dev/null @@ -1,13 +0,0 @@ -const StackTrace = @import("std").builtin.StackTrace; -pub fn panic(msg: []const u8, stack_trace: ?*StackTrace, _: ?usize) noreturn { - _ = msg; - _ = stack_trace; - @breakpoint(); - while (true) {} -} - -fn bar() anyerror!void {} - -export fn foo() void { - bar() catch unreachable; -}