Rollup merge of #137166 - nikic:loongarch-code-model, r=workingjubilee

Update default loongarch code model in docs

Since https://github.com/rust-lang/rust/pull/130266 loongarch defaults to medium code model.
This commit is contained in:
Matthias Krüger 2025-02-17 17:06:11 +01:00 committed by GitHub
commit 652c8b6866
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ By default, code generated with the soft-float target should run on any
LoongArch64 hardware, with the hard-float target additionally requiring an FPU;
enabling additional target features may raise this baseline.
Code generated with the targets will use the `small` code model by default.
Code generated with the targets will use the `medium` code model by default.
You can change this using the `-C code-model=` option to rustc.
On `loongarch64-unknown-none*`, `extern "C"` uses the [architecture's standard calling convention][lapcs].