mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 05:48:31 +00:00
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.
This commit is contained in:
parent
040cb585e8
commit
9329b93b88
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user