Skip to content

Commit 9a29350

Browse files
committed
LLVM: disable the ABI size safety check
There still more instances of this check being tripped during behavior tests that we need to fix before we can enable this.
1 parent a37cd0b commit 9a29350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/llvm.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,7 @@ pub const DeclGen = struct {
24262426

24272427
fn lowerType(dg: *DeclGen, t: Type) Allocator.Error!*const llvm.Type {
24282428
const llvm_ty = try lowerTypeInner(dg, t);
2429-
if (std.debug.runtime_safety) check: {
2429+
if (std.debug.runtime_safety and false) check: {
24302430
if (t.zigTypeTag() == .Opaque) break :check;
24312431
if (!t.hasRuntimeBits()) break :check;
24322432
if (!llvm_ty.isSized().toBool()) break :check;

0 commit comments

Comments
 (0)