mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
* `doc/langref` formatting
* upgrade `.{ .path = "..." }` to `b.path("...")`
* avoid using arguments named `self`
* make `Build.Step.Id` usage more consistent
* add `Build.pathResolve`
* use `pathJoin` and `pathResolve` everywhere
* make sure `Build.LazyPath.getPath2` returns an absolute path
11 lines
224 B
Zig
11 lines
224 B
Zig
const print = @import("std").debug.print;
|
|
|
|
const a_number: i32 = 1234;
|
|
const a_string = "foobar";
|
|
|
|
pub fn main() void {
|
|
print("here is a string: '{s}' here is a number: {}\n", .{ a_string, a_number });
|
|
}
|
|
|
|
// exe=succeed
|