| ... | @@ -267,7 +267,9 @@ pub fn classifyCompilerRtLibName(target: std.Target, name: []const u8) CompilerR | ... | @@ -267,7 +267,9 @@ pub fn classifyCompilerRtLibName(target: std.Target, name: []const u8) CompilerR |
| 267 | // the linker unable to find `_Unwind_RaiseException` and other related symbols. | 267 | // the linker unable to find `_Unwind_RaiseException` and other related symbols. |
| 268 | return .both; | 268 | return .both; |
| 269 | } | 269 | } |
| 270 | if (std.mem.eql(u8, name, "compiler_rt")) { | 270 | if (std.mem.eql(u8, name, "compiler_rt") or |
| | 271 | std.mem.eql(u8, name, "atomic")) |
| | 272 | { |
| 271 | return .only_compiler_rt; | 273 | return .only_compiler_rt; |
| 272 | } | 274 | } |
| 273 | if (std.mem.eql(u8, name, "unwind")) { | 275 | if (std.mem.eql(u8, name, "unwind")) { |