diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-12-24 19:20:03 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-01 17:51:21 -0700 |
| commit | 41ab64c3eb7a104e78ca96cfe861a03f3a150d47 (patch) | |
| tree | 357286a9f8e5b282497595d4082e388169256928 /src/main.zig | |
| parent | 8cf2cfc52c23fec8de2fa8ca54c2589daed2135b (diff) | |
| download | zig-41ab64c3eb7a104e78ca96cfe861a03f3a150d47.tar.gz zig-41ab64c3eb7a104e78ca96cfe861a03f3a150d47.zip | |
Compilation.Config.resolve: explicit error set
Some logic has comptime-known conditions, causing the inferred error set
to be different on different compiler build configurations.
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index 1811399da3..8f235e1233 100644 --- a/src/main.zig +++ b/src/main.zig @@ -3867,6 +3867,9 @@ fn createModule( error.TargetRequiresPie => fatal("the specified target requires position independent executables", .{}), error.SanitizeThreadRequiresPie => fatal("thread sanitization requires position independent executables", .{}), error.BackendLacksErrorTracing => fatal("the selected backend has not yet implemented error return tracing", .{}), + error.LlvmLibraryUnavailable => fatal("zig was compiled without LLVM libraries", .{}), + error.LldUnavailable => fatal("zig was compiled without LLD libraries", .{}), + error.ClangUnavailable => fatal("zig was compiled without Clang libraries", .{}), }; } |
