| ... | ... | @@ -237,11 +237,7 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module { |
| 237 | 237 | const code_model: std.builtin.CodeModel = b: { |
| 238 | 238 | if (options.inherited.code_model) |x| break :b x; |
| 239 | 239 | if (options.parent) |p| break :b p.code_model; |
| 240 | | break :b switch (target.cpu.arch) { |
| 241 | | // Temporary workaround until LLVM 21: https://github.com/llvm/llvm-project/pull/132173 |
| 242 | | .loongarch64 => .medium, |
| 243 | | else => .default, |
| 244 | | }; |
| 240 | break :b .default; |
| 245 | 241 | }; |
| 246 | 242 | |
| 247 | 243 | const is_safe_mode = switch (optimize_mode) { |