Skip to content

Commit 9cbc310

Browse files
committed
Update default loongarch code model in docs
Since #130266 loongarch defaults to medium code model.
1 parent a48e7b0 commit 9cbc310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/doc/rustc/src/platform-support/loongarch-none.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ By default, code generated with the soft-float target should run on any
3232
LoongArch64 hardware, with the hard-float target additionally requiring an FPU;
3333
enabling additional target features may raise this baseline.
3434

35-
Code generated with the targets will use the `small` code model by default.
35+
Code generated with the targets will use the `medium` code model by default.
3636
You can change this using the `-C code-model=` option to rustc.
3737

3838
On `loongarch64-unknown-none*`, `extern "C"` uses the [architecture's standard calling convention][lapcs].

0 commit comments

Comments
 (0)