diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-17 17:06:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-17 17:06:11 +0100 |
| commit | 652c8b6866479499e5ce512f150387fbaf220262 (patch) | |
| tree | ced27cccddb9875adec83125afdd7678d3bcf188 | |
| parent | 10018d8e10e8aee01454c362a2793ac9cdaedeab (diff) | |
| parent | 9cbc31031444c1efee8ca9860f2b907c5c18d24e (diff) | |
| download | rust-652c8b6866479499e5ce512f150387fbaf220262.tar.gz rust-652c8b6866479499e5ce512f150387fbaf220262.zip | |
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.
| -rw-r--r-- | src/doc/rustc/src/platform-support/loongarch-none.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/platform-support/loongarch-none.md b/src/doc/rustc/src/platform-support/loongarch-none.md index 110a7cc3424..bafa85c26e2 100644 --- a/src/doc/rustc/src/platform-support/loongarch-none.md +++ b/src/doc/rustc/src/platform-support/loongarch-none.md @@ -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]. |
