aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-11 22:11:35 +0200
committerAndrew Kelley <andrew@ziglang.org>2024-08-11 20:21:28 -0700
commit6316fd95351fb207d0680f396123a455a91ea4a2 (patch)
tree0d65c18c41e4375762a88dc57d265b4814495fb1 /src/Compilation
parentfc2924080694d68945308d394751a2ec4841b3c0 (diff)
downloadzig-6316fd95351fb207d0680f396123a455a91ea4a2.tar.gz
zig-6316fd95351fb207d0680f396123a455a91ea4a2.zip
std.Target: Add goff and xcoff to ObjectFormat.
Also improve the docs a bit, and handle driverkit and dxil in default().
Diffstat (limited to 'src/Compilation')
-rw-r--r--src/Compilation/Config.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation/Config.zig b/src/Compilation/Config.zig
index 3f2e5809d4..6be2ae80f8 100644
--- a/src/Compilation/Config.zig
+++ b/src/Compilation/Config.zig
@@ -434,7 +434,7 @@ pub fn resolve(options: Options) ResolveError!Config {
const debug_format: DebugFormat = b: {
if (root_strip and !options.any_non_stripped) break :b .strip;
break :b switch (target.ofmt) {
- .elf, .macho, .wasm => .{ .dwarf = .@"32" },
+ .elf, .goff, .macho, .wasm, .xcoff => .{ .dwarf = .@"32" },
.coff => .code_view,
.c => switch (target.os.tag) {
.windows, .uefi => .code_view,