From 9329b93b8896e552812d68a542b296cb897584d8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 14 Jul 2022 23:26:32 -0700 Subject: 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. --- src/codegen/llvm.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen') diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 6608920dfa..d688ff6dc6 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -2425,7 +2425,7 @@ pub const DeclGen = struct { fn lowerType(dg: *DeclGen, t: Type) Allocator.Error!*const llvm.Type { const llvm_ty = try lowerTypeInner(dg, t); - if (std.debug.runtime_safety) check: { + if (std.debug.runtime_safety and false) check: { if (t.zigTypeTag() == .Opaque) break :check; if (!t.hasRuntimeBits()) break :check; if (!llvm_ty.isSized().toBool()) break :check; -- cgit v1.2.3