don't error out for targets with unknown standard dynamic linker path

master
Andrew Kelley 2020-02-27 13:33:01 -05:00
parent 70bf8874d7
commit f89a1844bf
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,6 @@ export fn stage2_target_parse(
error.ProcessFdQuotaExceeded => return .ProcessFdQuotaExceeded,
error.SystemFdQuotaExceeded => return .SystemFdQuotaExceeded,
error.DeviceBusy => return .DeviceBusy,
error.UnknownDynamicLinkerPath => return .UnknownDynamicLinkerPath,
};
return .None;
}
@ -1174,6 +1173,7 @@ fn crossTargetToTarget(cross_target: CrossTarget, dynamic_linker_ptr: *?[*:0]u8)
std.heap.c_allocator,
) catch |err| switch (err) {
error.TargetHasNoDynamicLinker => null,
error.UnknownDynamicLinkerPath => null,
else => |e| return e,
};
}