Skip to content

Hello world

Chung Leong edited this page Aug 8, 2024 · 6 revisions

This example demonstrates the basics of using Zigar. We'll import and use a function that prints out a simple message:

const std = @import("std");

pub fn hello() void {
    std.debug.print("Hello world!", .{});
}

Choose the ecosystem you're interested in:


SHA1 digest example

Clone this wiki locally