mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
std: add workaround for stage2 bug
This commit is contained in:
parent
6ad510d832
commit
845a30624f
@ -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,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user