mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
stage2: correctly work out dirname for ar
This commit is contained in:
parent
fcfeafe99a
commit
62023c60b4
@ -797,9 +797,8 @@ pub const File = struct {
|
|||||||
} else {
|
} else {
|
||||||
try base.flushModule(comp, prog_node);
|
try base.flushModule(comp, prog_node);
|
||||||
}
|
}
|
||||||
break :blk try fs.path.join(arena, &.{
|
const dirname = fs.path.dirname(full_out_path_z) orelse ".";
|
||||||
fs.path.dirname(full_out_path_z).?, base.intermediary_basename.?,
|
break :blk try fs.path.join(arena, &.{ dirname, base.intermediary_basename.? });
|
||||||
});
|
|
||||||
} else null;
|
} else null;
|
||||||
|
|
||||||
log.debug("module_obj_path={s}", .{if (module_obj_path) |s| s else "(null)"});
|
log.debug("module_obj_path={s}", .{if (module_obj_path) |s| s else "(null)"});
|
||||||
|
Loading…
Reference in New Issue
Block a user