| author | |
| committer | |
| log | 68700e5de1e593d8f924e5ff0e7ebdd47373b3c8 |
| tree | 27c66f96ddb3f5648f751f913b1c9d84a2ec9dc0 |
| parent | 3ed159964a34bb73ba484bae95c714449c16b0fc |
| signature |
A debug build of the compiler detects invalid union access since `classifyInputFile`
detects `.archive` and this line constructed a `.object` input.1 files changed, 1 insertions(+), 1 deletions(-)
src/link/MachO.zig+1-1| ... | @@ -416,7 +416,7 @@ pub fn flushModule( | ... | @@ -416,7 +416,7 @@ pub fn flushModule( |
| 416 | } | 416 | } |
| 417 | 417 | ||
| 418 | if (comp.config.any_fuzz) { | 418 | if (comp.config.any_fuzz) { |
| 419 | try positionals.append(try link.openObjectInput(diags, comp.fuzzer_lib.?.full_object_path)); | 419 | try positionals.append(try link.openArchiveInput(diags, comp.fuzzer_lib.?.full_object_path, false, false)); |
| 420 | } | 420 | } |
| 421 | 421 | ||
| 422 | if (comp.ubsan_rt_lib) |crt_file| { | 422 | if (comp.ubsan_rt_lib) |crt_file| { |