mirror of
https://github.com/ziglang/zig.git
synced 2026-01-18 05:15:18 +00:00
coff: assert the imports table is not dirty
This commit is contained in:
parent
db877df8eb
commit
70838d34aa
@ -1451,6 +1451,8 @@ pub fn flushModule(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod
|
||||
self.error_flags.no_entry_point_found = false;
|
||||
try self.writeHeader();
|
||||
}
|
||||
|
||||
assert(!self.imports_count_dirty);
|
||||
}
|
||||
|
||||
pub fn getDeclVAddr(self: *Coff, decl_index: Module.Decl.Index, reloc_info: link.File.RelocInfo) !u64 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user