feat: update main

This commit is contained in:
2021-03-21 18:19:08 +08:00
parent 729a5ce188
commit 3939c89fbe

View File

@@ -1,5 +1,12 @@
const std = @import("std"); const std = @import("std");
const warn = std.debug.warn;
//const json = std.json;
pub fn main() anyerror!void { pub fn main() anyerror!void {
std.debug.warn("Hello world.\n", .{}); // const stdout = std.io.getStdOut().writer();
// const name = "Hatter";
// warn("Hello {}", name);
// try stdout.print("Hello, {s}!\n", .{"world"});
warn("Hello world.\n", .{});
} }