mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Auto merge of #130674 - compiler-errors:rollup-yu105fl, r=compiler-errors
Rollup of 8 pull requests Successful merges: - #127766 (add `extern "C-cmse-nonsecure-entry" fn` ) - #129629 (Implement Return Type Notation (RTN)'s path form in where clauses) - #130408 (Avoid re-validating UTF-8 in `FromUtf8Error::into_utf8_lossy`) - #130651 (Add --enable-profiler to armhf dist) - #130653 (ABI compatibility: mention Result guarantee) - #130666 (Assert that `explicit_super_predicates_of` and `explicit_item_super_predicates` truly only contains bounds for the type itself) - #130667 (compiler: Accept "improper" ctypes in extern "rust-cold" fn) - #130673 (Parser: recover from `:::` to `::`) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
67f74f56cb
3 changed files with 5 additions and 0 deletions
|
@ -377,6 +377,7 @@ pub enum FnAbi {
|
||||||
AvrNonBlockingInterrupt,
|
AvrNonBlockingInterrupt,
|
||||||
C,
|
C,
|
||||||
CCmseNonsecureCall,
|
CCmseNonsecureCall,
|
||||||
|
CCmseNonsecureEntry,
|
||||||
CDecl,
|
CDecl,
|
||||||
CDeclUnwind,
|
CDeclUnwind,
|
||||||
CUnwind,
|
CUnwind,
|
||||||
|
@ -434,6 +435,7 @@ impl FnAbi {
|
||||||
s if *s == sym::avr_dash_interrupt => FnAbi::AvrInterrupt,
|
s if *s == sym::avr_dash_interrupt => FnAbi::AvrInterrupt,
|
||||||
s if *s == sym::avr_dash_non_dash_blocking_dash_interrupt => FnAbi::AvrNonBlockingInterrupt,
|
s if *s == sym::avr_dash_non_dash_blocking_dash_interrupt => FnAbi::AvrNonBlockingInterrupt,
|
||||||
s if *s == sym::C_dash_cmse_dash_nonsecure_dash_call => FnAbi::CCmseNonsecureCall,
|
s if *s == sym::C_dash_cmse_dash_nonsecure_dash_call => FnAbi::CCmseNonsecureCall,
|
||||||
|
s if *s == sym::C_dash_cmse_dash_nonsecure_dash_entry => FnAbi::CCmseNonsecureEntry,
|
||||||
s if *s == sym::C_dash_unwind => FnAbi::CUnwind,
|
s if *s == sym::C_dash_unwind => FnAbi::CUnwind,
|
||||||
s if *s == sym::C => FnAbi::C,
|
s if *s == sym::C => FnAbi::C,
|
||||||
s if *s == sym::cdecl_dash_unwind => FnAbi::CDeclUnwind,
|
s if *s == sym::cdecl_dash_unwind => FnAbi::CDeclUnwind,
|
||||||
|
@ -477,6 +479,7 @@ impl FnAbi {
|
||||||
FnAbi::AvrNonBlockingInterrupt => "avr-non-blocking-interrupt",
|
FnAbi::AvrNonBlockingInterrupt => "avr-non-blocking-interrupt",
|
||||||
FnAbi::C => "C",
|
FnAbi::C => "C",
|
||||||
FnAbi::CCmseNonsecureCall => "C-cmse-nonsecure-call",
|
FnAbi::CCmseNonsecureCall => "C-cmse-nonsecure-call",
|
||||||
|
FnAbi::CCmseNonsecureEntry => "C-cmse-nonsecure-entry",
|
||||||
FnAbi::CDecl => "C-decl",
|
FnAbi::CDecl => "C-decl",
|
||||||
FnAbi::CDeclUnwind => "cdecl-unwind",
|
FnAbi::CDeclUnwind => "cdecl-unwind",
|
||||||
FnAbi::CUnwind => "C-unwind",
|
FnAbi::CUnwind => "C-unwind",
|
||||||
|
|
|
@ -32,6 +32,7 @@ const SUPPORTED_CALLING_CONVENTIONS: &[&str] = &[
|
||||||
"riscv-interrupt-m",
|
"riscv-interrupt-m",
|
||||||
"riscv-interrupt-s",
|
"riscv-interrupt-s",
|
||||||
"C-cmse-nonsecure-call",
|
"C-cmse-nonsecure-call",
|
||||||
|
"C-cmse-nonsecure-entry",
|
||||||
"wasm",
|
"wasm",
|
||||||
"system",
|
"system",
|
||||||
"system-unwind",
|
"system-unwind",
|
||||||
|
|
|
@ -94,6 +94,7 @@ define_symbols! {
|
||||||
avr_dash_interrupt = "avr-interrupt",
|
avr_dash_interrupt = "avr-interrupt",
|
||||||
avr_dash_non_dash_blocking_dash_interrupt = "avr-non-blocking-interrupt",
|
avr_dash_non_dash_blocking_dash_interrupt = "avr-non-blocking-interrupt",
|
||||||
C_dash_cmse_dash_nonsecure_dash_call = "C-cmse-nonsecure-call",
|
C_dash_cmse_dash_nonsecure_dash_call = "C-cmse-nonsecure-call",
|
||||||
|
C_dash_cmse_dash_nonsecure_dash_entry = "C-cmse-nonsecure-entry",
|
||||||
C_dash_unwind = "C-unwind",
|
C_dash_unwind = "C-unwind",
|
||||||
cdecl_dash_unwind = "cdecl-unwind",
|
cdecl_dash_unwind = "cdecl-unwind",
|
||||||
fastcall_dash_unwind = "fastcall-unwind",
|
fastcall_dash_unwind = "fastcall-unwind",
|
||||||
|
|
Loading…
Reference in a new issue