Skip to content

Commit

Permalink
Update src/aro/toolchains/Linux.zig
Browse files Browse the repository at this point in the history
Co-authored-by: Veikka Tuominen <[email protected]>
  • Loading branch information
ehaas and Vexu authored Feb 24, 2024
1 parent 3f96ac6 commit 69272dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aro/toolchains/Linux.zig
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ pub fn defineSystemIncludes(self: *const Linux, tc: *const Toolchain) !void {

if (getMultiarchTriple(target)) |triple| {
const joined = try std.fs.path.join(comp.gpa, &.{ sysroot, "usr", "include", triple });
errdefer comp.gpa.free(joined);
defer comp.gpa.free(joined);
if (tc.filesystem.exists(joined)) {
try comp.addSystemIncludeDir(joined);
}
Expand Down

0 comments on commit 69272dc

Please sign in to comment.