mirror-ghostty/pkg/sentry
Mitchell Hashimoto 0f1860f066
build: use a libc txt file to point to correct Apple SDK
This fixes an issue where Ghostty would not build against the macOS 15.5 SDK.

What was happening was that Zig was adding its embedded libc paths to
the clang command line, which included old headers that were
incompatible with the latest (macOS 15.5) SDK. Ghostty was adding the
newer paths but they were being overridden by the embedded libc paths.

The reason this was happening is because Zig was using its own logic to
find the libc paths and this was colliding with the paths we were
setting manually. To fix this, we now use a `libc.txt` file that
explicitly tells Zig where to find libc, and we base this on our own SDK
search logic.
2025-05-29 15:04:05 -07:00
..
build.zig build: use a libc txt file to point to correct Apple SDK 2025-05-29 15:04:05 -07:00
build.zig.zon build: mark most dependencies as lazy 2025-03-14 13:32:19 -07:00
c.zig pkg/sentry: initial builds 2024-08-28 21:43:17 -07:00
envelope.zig crash: discard envelopes that do not contain a crash 2024-08-31 12:24:11 -07:00
level.zig pkg/sentry: add more Zig APIs 2024-08-28 21:43:17 -07:00
main.zig crash: try to attach dimensions to the crash report 2024-09-01 14:15:11 -07:00
transport.zig core: fixup callconv(.C) -> callconv(.c) 2025-05-07 08:41:09 -05:00
uuid.zig pkg/sentry: uuid string is null-terminated 2024-08-31 14:05:55 -07:00
value.zig crash: beforeSend needs to add contexts to the event directly 2024-09-02 09:55:57 -07:00