This commit is contained in:
10
packages/zig/examples/example.zig
generated
Normal file
10
packages/zig/examples/example.zig
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
const std = @import("std");
|
||||
|
||||
pub fn main() !void {
|
||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
defer _ = gpa.deinit();
|
||||
const allocator = gpa.allocator();
|
||||
|
||||
const stdout = std.io.getStdOut().writer();
|
||||
try stdout.print("Example: module loaded successfully\n", .{});
|
||||
}
|
||||
Reference in New Issue
Block a user