diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-14 23:26:32 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-14 23:26:32 -0700 |
| commit | 9329b93b8896e552812d68a542b296cb897584d8 (patch) | |
| tree | c19019f3e4e2112a41eece17a521fc2a1fb4c272 /src/codegen/llvm.zig | |
| parent | 040cb585e88583cba8a15f30eea07bfd2f135515 (diff) | |
| download | zig-9329b93b8896e552812d68a542b296cb897584d8.tar.gz zig-9329b93b8896e552812d68a542b296cb897584d8.zip | |
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.
Diffstat (limited to 'src/codegen/llvm.zig')
| -rw-r--r-- | src/codegen/llvm.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
