feat: update tests
This commit is contained in:
@@ -8,6 +8,11 @@ Zig is a general-purpose programming language and toolchain for maintaining robu
|
|||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
|
Run:
|
||||||
|
```
|
||||||
|
% zig run hello.zig
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
const print = @import("std").debug.print;
|
||||||
|
|
||||||
pub fn main() void {
|
pub fn main() void {
|
||||||
std.debug.print("Hello, world!\n", .{});
|
std.debug.print("Hello, world!\n", .{});
|
||||||
|
print("Hello, world!\n", .{});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user