|
|
|
|
|
by forrestthewoods
417 days ago
|
|
> Which, yes, means that the comptime interpreter emulates the target machine. Reasonable if that’s how it works. I had absolutely no idea that Zig comptime worked this way! > there's zero benefit to not hiding the host platform in comptime I don’t think this is clear. It is possibly good to hide host platform given Zig’s more limited comptime capabilities. However in my $DayJob an extremely common and painful source of issues is trying to hide host platform when it can not in fact be hidden. |
|