| author | |
| committer | |
| log | 0a89624d599cfcb884946dfb938945f399df085a |
| tree | 09d167fa3516b89e84c06cca9c787eb838b14c98 |
| parent | 349d78a443c8a844c5050cd3122b539f8c95598b |
6 files changed, 6 insertions(+), 6 deletions(-)
src/Air.zig+1-1| ... | @@ -811,7 +811,7 @@ pub const Inst = struct { | ... | @@ -811,7 +811,7 @@ pub const Inst = struct { |
| 811 | // bigger than expected. Note that in Debug builds, Zig is allowed | 811 | // bigger than expected. Note that in Debug builds, Zig is allowed |
| 812 | // to insert a secret field for safety checks. | 812 | // to insert a secret field for safety checks. |
| 813 | comptime { | 813 | comptime { |
| 814 | if (builtin.mode != .Debug) { | 814 | if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { |
| 815 | assert(@sizeOf(Data) == 8); | 815 | assert(@sizeOf(Data) == 8); |
| 816 | } | 816 | } |
| 817 | } | 817 | } |
src/Zir.zig+1-1| ... | @@ -2602,7 +2602,7 @@ pub const Inst = struct { | ... | @@ -2602,7 +2602,7 @@ pub const Inst = struct { |
| 2602 | // bigger than expected. Note that in Debug builds, Zig is allowed | 2602 | // bigger than expected. Note that in Debug builds, Zig is allowed |
| 2603 | // to insert a secret field for safety checks. | 2603 | // to insert a secret field for safety checks. |
| 2604 | comptime { | 2604 | comptime { |
| 2605 | if (builtin.mode != .Debug) { | 2605 | if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { |
| 2606 | assert(@sizeOf(Data) == 8); | 2606 | assert(@sizeOf(Data) == 8); |
| 2607 | } | 2607 | } |
| 2608 | } | 2608 | } |
src/arch/aarch64/Mir.zig+1-1| ... | @@ -473,7 +473,7 @@ pub const Inst = struct { | ... | @@ -473,7 +473,7 @@ pub const Inst = struct { |
| 473 | // Make sure we don't accidentally make instructions bigger than expected. | 473 | // Make sure we don't accidentally make instructions bigger than expected. |
| 474 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. | 474 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. |
| 475 | comptime { | 475 | comptime { |
| 476 | if (builtin.mode != .Debug) { | 476 | if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { |
| 477 | assert(@sizeOf(Data) == 8); | 477 | assert(@sizeOf(Data) == 8); |
| 478 | } | 478 | } |
| 479 | } | 479 | } |
src/arch/arm/Mir.zig+1-1| ... | @@ -264,7 +264,7 @@ pub const Inst = struct { | ... | @@ -264,7 +264,7 @@ pub const Inst = struct { |
| 264 | // Make sure we don't accidentally make instructions bigger than expected. | 264 | // Make sure we don't accidentally make instructions bigger than expected. |
| 265 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. | 265 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. |
| 266 | comptime { | 266 | comptime { |
| 267 | if (builtin.mode != .Debug) { | 267 | if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { |
| 268 | assert(@sizeOf(Data) == 8); | 268 | assert(@sizeOf(Data) == 8); |
| 269 | } | 269 | } |
| 270 | } | 270 | } |
src/arch/sparc64/Mir.zig+1-1| ... | @@ -328,7 +328,7 @@ pub const Inst = struct { | ... | @@ -328,7 +328,7 @@ pub const Inst = struct { |
| 328 | // Make sure we don't accidentally make instructions bigger than expected. | 328 | // Make sure we don't accidentally make instructions bigger than expected. |
| 329 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. | 329 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. |
| 330 | comptime { | 330 | comptime { |
| 331 | if (builtin.mode != .Debug) { | 331 | if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { |
| 332 | assert(@sizeOf(Data) == 8); | 332 | assert(@sizeOf(Data) == 8); |
| 333 | } | 333 | } |
| 334 | } | 334 | } |
src/arch/x86_64/Mir.zig+1-1| ... | @@ -462,7 +462,7 @@ pub const Inst = struct { | ... | @@ -462,7 +462,7 @@ pub const Inst = struct { |
| 462 | // Make sure we don't accidentally make instructions bigger than expected. | 462 | // Make sure we don't accidentally make instructions bigger than expected. |
| 463 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. | 463 | // Note that in Debug builds, Zig is allowed to insert a secret field for safety checks. |
| 464 | comptime { | 464 | comptime { |
| 465 | if (builtin.mode != .Debug) { | 465 | if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { |
| 466 | assert(@sizeOf(Data) == 8); | 466 | assert(@sizeOf(Data) == 8); |
| 467 | } | 467 | } |
| 468 | } | 468 | } |