Commit 43b3137
fix: simplify zig comptime_match to fix Linux test failure
Replace u48 pointer-cast integer comparison with std.mem.eql in
comptime_match. The unaligned integer read via @ptrCast was
failing on Linux CI (passes on macOS). The compiler optimizes
std.mem.eql for small comptime-known sizes anyway.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 407681b commit 43b3137
1 file changed
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 13 | + | |
27 | 14 | | |
28 | 15 | | |
29 | 16 | | |
| |||
0 commit comments