Files
Matthew Lugg 82e8ed66ec Elf2: add basic standalone test coverage
This is just a temporary measure before we have better test coverage set
up for this. I figure that in the name of incremental improvements, it
makes sense to get at least a little bit of coverage in now to prevent
basic use cases from regressing---because right now the old coverage of
Elf2 in CI is the incremental tests, which only cover compiling for
x86_64-linux without libc.

In the future, this standalone test should be replaced with both of:
* entries in the main test target matrix
* linker tests (related: https://codeberg.org/ziglang/zig/pulls/32065)
2026-06-04 09:57:29 +01:00

7 lines
180 B
Zig

pub fn main(init: std.process.Init) !void {
const stdout: std.Io.File = .stdout();
try stdout.writeStreamingAll(init.io, "Hello, World!\n");
}
const std = @import("std");