mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
coff: add missing bits required for minimal PE example
This commit is contained in:
1 parent
e5b8a1ac27
commit
30baba899c
3 files changed
+243
-77
No files matched your search
@@ -5391,6 +5391,9 @@ fn deleteDeclExports(mod: *Module, decl_index: Decl.Index) void {
|
||||
if (mod.comp.bin_file.cast(link.File.Wasm)) |wasm| {
|
||||
wasm.deleteExport(exp.link.wasm);
|
||||
}
|
||||
if (mod.comp.bin_file.cast(link.File.Coff)) |coff| {
|
||||
coff.deleteExport(exp.link.coff);
|
||||
}
|
||||
if (mod.failed_exports.fetchSwapRemove(exp)) |failed_kv| {
|
||||
failed_kv.value.destroy(mod.gpa);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user