master
1/// `std.start` imports this file using `@import("root")`, and uses this declaration as the program's
2/// user-provided entry point. It can return any of the following types:
3/// * `void`
4/// * `E!void`, for any error set `E`
5/// * `u8`
6/// * `E!u8`, for any error set `E`
7/// Returning a `void` value from this function will exit with code 0.
8/// Returning a `u8` value from this function will exit with the given status code.
9/// Returning an error value from this function will print an Error Return Trace and exit with code 1.
10pub fn main() void {
11 std.debug.print("Hello, World!\n", .{});
12}
13
14// If uncommented, this declaration would suppress the usual std.start logic, causing
15// the `main` declaration above to be ignored.
16//pub const _start = {};
17
18const std = @import("std");
19
20// exe=succeed