| ... | @@ -1252,6 +1252,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1252,6 +1252,7 @@ pub const LibExeObjStep = struct { |
| 1252 | bundle_compiler_rt: ?bool = null, | 1252 | bundle_compiler_rt: ?bool = null, |
| 1253 | disable_stack_probing: bool, | 1253 | disable_stack_probing: bool, |
| 1254 | disable_sanitize_c: bool, | 1254 | disable_sanitize_c: bool, |
| | 1255 | sanitize_thread: bool, |
| 1255 | rdynamic: bool, | 1256 | rdynamic: bool, |
| 1256 | c_std: Builder.CStd, | 1257 | c_std: Builder.CStd, |
| 1257 | override_lib_dir: ?[]const u8, | 1258 | override_lib_dir: ?[]const u8, |
| ... | @@ -1434,6 +1435,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1434,6 +1435,7 @@ pub const LibExeObjStep = struct { |
| 1434 | .filter = null, | 1435 | .filter = null, |
| 1435 | .disable_stack_probing = false, | 1436 | .disable_stack_probing = false, |
| 1436 | .disable_sanitize_c = false, | 1437 | .disable_sanitize_c = false, |
| | 1438 | .sanitize_thread = false, |
| 1437 | .rdynamic = false, | 1439 | .rdynamic = false, |
| 1438 | .output_dir = null, | 1440 | .output_dir = null, |
| 1439 | .single_threaded = false, | 1441 | .single_threaded = false, |
| ... | @@ -2252,6 +2254,9 @@ pub const LibExeObjStep = struct { | ... | @@ -2252,6 +2254,9 @@ pub const LibExeObjStep = struct { |
| 2252 | if (self.disable_sanitize_c) { | 2254 | if (self.disable_sanitize_c) { |
| 2253 | try zig_args.append("-fno-sanitize-c"); | 2255 | try zig_args.append("-fno-sanitize-c"); |
| 2254 | } | 2256 | } |
| | 2257 | if (self.sanitize_thread) { |
| | 2258 | try zig_args.append("-fsanitize-thread"); |
| | 2259 | } |
| 2255 | if (self.rdynamic) { | 2260 | if (self.rdynamic) { |
| 2256 | try zig_args.append("-rdynamic"); | 2261 | try zig_args.append("-rdynamic"); |
| 2257 | } | 2262 | } |