0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

MachO: handle dylibs/archives not classified via extension

Frameworks internally are just dylibs but it is not uncommon
for them not to have an extension such `.dylib` or `.tbd`.
Same may apply to archive files. For that reason, if we fail
to classify by extension, do not give up yet, try parsing as
dylib or archive, and then flag as a user error rather than
panic.
This commit is contained in:
Jakub Konka 2026-09-21 00:24:24 +02:00 • committed by Andrew Kelley
commit 41d3b9a3ed