| ... | @@ -37,6 +37,7 @@ kind: Kind, | ... | @@ -37,6 +37,7 @@ kind: Kind, |
| 37 | major_only_filename: ?[]const u8, | 37 | major_only_filename: ?[]const u8, |
| 38 | name_only_filename: ?[]const u8, | 38 | name_only_filename: ?[]const u8, |
| 39 | strip: ?bool, | 39 | strip: ?bool, |
| | 40 | formatted_panics: ?bool = null, |
| 40 | unwind_tables: ?bool, | 41 | unwind_tables: ?bool, |
| 41 | // keep in sync with src/link.zig:CompressDebugSections | 42 | // keep in sync with src/link.zig:CompressDebugSections |
| 42 | compress_debug_sections: enum { none, zlib, zstd } = .none, | 43 | compress_debug_sections: enum { none, zlib, zstd } = .none, |
| ... | @@ -1702,6 +1703,7 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { | ... | @@ -1702,6 +1703,7 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { |
| 1702 | if (self.generated_h != null) try zig_args.append("-femit-h"); | 1703 | if (self.generated_h != null) try zig_args.append("-femit-h"); |
| 1703 | | 1704 | |
| 1704 | try addFlag(&zig_args, "strip", self.strip); | 1705 | try addFlag(&zig_args, "strip", self.strip); |
| | 1706 | try addFlag(&zig_args, "formatted-panics", self.formatted_panics); |
| 1705 | try addFlag(&zig_args, "unwind-tables", self.unwind_tables); | 1707 | try addFlag(&zig_args, "unwind-tables", self.unwind_tables); |
| 1706 | | 1708 | |
| 1707 | if (self.dwarf_format) |dwarf_format| { | 1709 | if (self.dwarf_format) |dwarf_format| { |