mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
87c66c93ca
The LoongArch C/C++ cross toolchain defaults to the `normal` code model, which can cause relocation overflows when linking LLVM after upgrading to verion 22. This change uses the `medium`code model for `loongarch64-linux-gnu` and `loongarch64-linux-musl` builds to avoid these linking errors.