mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +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
14 lines
313 B
Zig
14 lines
313 B
Zig
const @"identifier with spaces in it" = 0xff;
|
|
const @"1SmallStep4Man" = 112358;
|
|
|
|
const c = @import("std").c;
|
|
pub extern "c" fn @"error"() void;
|
|
pub extern "c" fn @"fstat$INODE64"(fd: c.fd_t, buf: *c.Stat) c_int;
|
|
|
|
const Color = enum {
|
|
red,
|
|
@"really red",
|
|
};
|
|
const color: Color = .@"really red";
|
|
|
|
// syntax
|