You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
268 B
Zig

const std = @import("std");
const builtin = @import("builtin");
pub fn main() !void {
const name = switch (builtin.os.tag) {
.windows => "windows",
.linux => "linux",
else => "mystery",
};
std.debug.print("hello {}\n", .{name});
}