mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
link+macho+fuzz: use correct input type
A debug build of the compiler detects invalid union access since `classifyInputFile` detects `.archive` and this line constructed a `.object` input.
This commit is contained in:
parent
566e4ab6b1
commit
f592674642
@ -416,7 +416,7 @@ pub fn flushModule(
|
||||
}
|
||||
|
||||
if (comp.config.any_fuzz) {
|
||||
try positionals.append(try link.openObjectInput(diags, comp.fuzzer_lib.?.full_object_path));
|
||||
try positionals.append(try link.openArchiveInput(diags, comp.fuzzer_lib.?.full_object_path, false, false));
|
||||
}
|
||||
|
||||
if (comp.ubsan_rt_lib) |crt_file| {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user