init incremental compilation check tool

This commit is contained in:
Andrew Kelley
2024-07-19 17:41:04 -07:00
parent 7b1d3e7276
commit ea2c45227a
2 changed files with 228 additions and 0 deletions

13
test/incremental/hello Normal file
View File

@@ -0,0 +1,13 @@
#target=x86_64-linux
#update=initial version
#file=main.zig
pub fn main() !void {
try std.io.getStdOut().writeAll("good morning\n");
}
#expect_stdout="good morning\n"
#update=change the string
#file=main.zig
pub fn main() !void {
try std.io.getStdOut().writeAll("おはようございます\n");
}
#expect_stdout="おはようございます\n"