Skip to content

Commit 9329b93

Browse files
committed
LLVM: disable the ABI size safety check
There are many more instances of this check being tripped that we need to fix before we can enable this.
1 parent 040cb58 commit 9329b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/llvm.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2425,7 +2425,7 @@ pub const DeclGen = struct {
24252425

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

0 commit comments

Comments
 (0)