summaryrefslogtreecommitdiff
path: root/abi/wire.zig
diff options
context:
space:
mode:
Diffstat (limited to 'abi/wire.zig')
-rw-r--r--abi/wire.zig14
1 files changed, 7 insertions, 7 deletions
diff --git a/abi/wire.zig b/abi/wire.zig
index 4f6e199b..a36e746b 100644
--- a/abi/wire.zig
+++ b/abi/wire.zig
@@ -63,19 +63,19 @@ const family = switch (config.platform) {
pub const semantics: u64 = blk: {
@setEvalBranchQuota(1_000_000);
// The grammar set as the four words it was hashed as when it was four
- // options (highlighting, zig, minimal, full), so the hash stays:
- // highlighting and the Zig grammar are in every set.
+ // options (highlighting, zig, minimal, full), so the hash of a minimal
+ // or a full set stays: every set has highlighting, `none` no grammar.
const g = config.grammars;
// The two long ones (the dependencies, 2.5 KB, and the tape's shape,
// 11 KB) joined on, not formatted: formatting them at comptime was 5 %
// of a compile of the core.
break :blk std.hash.Wyhash.hash(0, std.fmt.comptimePrint(
- "wire {d}\npardes {s} {s}\n{s} grammars true true {} {} workspace_tag {} sources {}\nusize {d} {t}\n",
+ "wire {d}\npardes {s} {s}\n{s} grammars true {} {} {} workspace_tag {} sources {}\nusize {d} {t}\n",
.{
- version, build_info.version, build_info.commit orelse "unstamped",
- family, g != .zig, g == .full,
- config.workspace_tag, config.embed_sources, @sizeOf(usize),
- builtin.cpu.arch.endian(),
+ version, build_info.version, build_info.commit orelse "unstamped",
+ family, g != .none, g != .none,
+ g == .full, config.workspace_tag, config.embed_sources,
+ @sizeOf(usize), builtin.cpu.arch.endian(),
},
) ++ build_info.deps ++ "\n" ++ pardes.tape.shape);
};