Skip to content

Commit

Permalink
Unrolled build for rust-lang#137166
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#137166 - nikic:loongarch-code-model, r=workingjubilee

Update default loongarch code model in docs

Since rust-lang#130266 loongarch defaults to medium code model.
  • Loading branch information
rust-timer authored Feb 18, 2025
2 parents ce36a96 + 9cbc310 commit 55796be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/loongarch-none.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 55796be

Please sign in to comment.