aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-05-04 01:53:51 +0200
committerGitHub <noreply@github.com>2025-05-04 01:53:51 +0200
commitdffd18f133972cb2e1b0695340f8104c3cd3b5f8 (patch)
tree34b2ed2832ae2f4f772fd12d07eb5500d557b6a5 /src/main.zig
parentf4e9846bca69e20f907384cdad43b86a3aae1fb2 (diff)
parentd2f92e1797cf30c2fb0993d7e09de73e496144f5 (diff)
downloadzig-dffd18f133972cb2e1b0695340f8104c3cd3b5f8.tar.gz
zig-dffd18f133972cb2e1b0695340f8104c3cd3b5f8.zip
Merge pull request #23752 from alexrp/static-native-glibc
compiler: Allow linking native glibc statically
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig
index cac0c78163..7eb5436ee5 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -4206,6 +4206,7 @@ fn createModule(
error.LldCannotIncrementallyLink => fatal("self-hosted backends do not support linking with LLD", .{}),
error.LtoRequiresLld => fatal("LTO requires using LLD", .{}),
error.SanitizeThreadRequiresLibCpp => fatal("thread sanitization is (for now) implemented in C++, so it requires linking libc++", .{}),
+ error.LibCRequiresLibUnwind => fatal("libc of the specified target requires linking libunwind", .{}),
error.LibCppRequiresLibUnwind => fatal("libc++ requires linking libunwind", .{}),
error.OsRequiresLibC => fatal("the target OS requires using libc as the stable syscall interface", .{}),
error.LibCppRequiresLibC => fatal("libc++ requires linking libc", .{}),