| author | |
| committer | |
| log | c3cb062d03d9c4eced740b61a76e6c746d67db8e |
| tree | 8f528d242f1ed2fbbccee7d6fe1ad2704684a175 |
| parent | a3fe5cb793759d2b9526ac8b7ad96e30a08813d8 |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
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 @@ | ... | @@ -30,9 +30,6 @@ |
| 30 | .static_c_lib = .{ | 30 | .static_c_lib = .{ |
| 31 | .path = "static_c_lib", | 31 | .path = "static_c_lib", |
| 32 | }, | 32 | }, |
| 33 | .issue_339 = .{ | ||
| 34 | .path = "issue_339", | ||
| 35 | }, | ||
| 36 | .compile_asm = .{ | 33 | .compile_asm = .{ |
| 37 | .path = "compile_asm", | 34 | .path = "compile_asm", |
| 38 | }, | 35 | }, |
test/standalone/issue_339/build.zig deleted-23| ... | @@ -1,23 +0,0 @@ | ||
| 1 | const std = @import("std"); | ||
| 2 | |||
| 3 | pub 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 @@ | ||
| 1 | const StackTrace = @import("std").builtin.StackTrace; | ||
| 2 | pub fn panic(msg: []const u8, stack_trace: ?*StackTrace, _: ?usize) noreturn { | ||
| 3 | _ = msg; | ||
| 4 | _ = stack_trace; | ||
| 5 | @breakpoint(); | ||
| 6 | while (true) {} | ||
| 7 | } | ||
| 8 | |||
| 9 | fn bar() anyerror!void {} | ||
| 10 | |||
| 11 | export fn foo() void { | ||
| 12 | bar() catch unreachable; | ||
| 13 | } | ||