From b98b3252beea98522c25b88eb29b5e2d8a65adfe Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Wed, 7 Sep 2022 23:18:57 +0200 Subject: revert part of 945111ae92c28f8ad642a64af4dc83acd3bef4a5 --- lib/std/build.zig | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/std/build.zig b/lib/std/build.zig index 76744b12d2..4c05586159 100644 --- a/lib/std/build.zig +++ b/lib/std/build.zig @@ -1623,7 +1623,6 @@ pub const LibExeObjStep = struct { /// Overrides the default stack size stack_size: ?u64 = null, - use_unwind_tables: ?bool = null, want_lto: ?bool = null, use_stage1: ?bool = null, use_llvm: ?bool = null, @@ -2506,14 +2505,6 @@ pub const LibExeObjStep = struct { } } - if (self.use_unwind_tables) |use_unwind_tables| { - if (use_unwind_tables) { - try zig_args.append("-funwind-tables"); - } else { - try zig_args.append("-fno-unwind-tables"); - } - } - if (self.ofmt) |ofmt| { try zig_args.append(try std.fmt.allocPrint(builder.allocator, "-ofmt={s}", .{@tagName(ofmt)})); } -- cgit v1.2.3