diff options
| author | David Czihak <git@dcz.at> | 2026-05-09 13:01:50 +0200 |
|---|---|---|
| committer | David Czihak <git@dcz.at> | 2026-05-09 13:01:50 +0200 |
| commit | 4b6f66fd512c254b5a82220dc77411fe391dd258 (patch) | |
| tree | 7d77d7966e9ad2e296986ea8cfeb607088028195 /examples/monorepo/src/main.zig | |
| parent | 64e9c56fc665972fdde5234c4fb2f2a882e237dc (diff) | |
Chore: Rework examples for thorough extension testing
Diffstat (limited to 'examples/monorepo/src/main.zig')
| -rw-r--r-- | examples/monorepo/src/main.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/monorepo/src/main.zig b/examples/monorepo/src/main.zig new file mode 100644 index 0000000..667259e --- /dev/null +++ b/examples/monorepo/src/main.zig @@ -0,0 +1,9 @@ +const std = @import("std"); + +pub fn main(init: std.process.Init) !void { + const io = init.io; + var buf: [256]u8 = undefined; + var fw: std.Io.File.Writer = .init(.stdout(), io, &buf); + defer fw.interface.flush() catch {}; + try fw.interface.print("monorepo root\n", .{}); +} |
