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:
commit
652c8b6866
1 changed files with 1 additions and 1 deletions
|
|
@ -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].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue