Commit 845a30624f

Veikka Tuominen <git@vexu.eu>
2022-04-15 10:13:27
std: add workaround for stage2 bug
1 parent 6ad510d
Changed files (1)
lib
std
math
lib/std/math/big/int.zig
@@ -2063,7 +2063,8 @@ pub const Const = struct {
         // This is the inverse of calcDivLimbsBufferLen
         const available_len = (limbs.len / 3) - 2;
 
-        const biggest: Const = .{
+        // TODO https://github.com/ziglang/zig/issues/11439
+        const biggest = comptime Const{
             .limbs = &([1]Limb{math.maxInt(Limb)} ** available_len),
             .positive = false,
         };