Skip to content

Commit 272aeca

Browse files
authored
Merge pull request rust-lang#18595 from markmurphydev/remove_platform_intrinsic
Remove references to platform-intrinsic ABI
2 parents 941616e + 337725d commit 272aeca

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ pub enum FnAbi {
385385
Fastcall,
386386
FastcallUnwind,
387387
Msp430Interrupt,
388-
PlatformIntrinsic,
389388
PtxKernel,
390389
RiscvInterruptM,
391390
RiscvInterruptS,
@@ -444,7 +443,6 @@ impl FnAbi {
444443
s if *s == sym::fastcall_dash_unwind => FnAbi::FastcallUnwind,
445444
s if *s == sym::fastcall => FnAbi::Fastcall,
446445
s if *s == sym::msp430_dash_interrupt => FnAbi::Msp430Interrupt,
447-
s if *s == sym::platform_dash_intrinsic => FnAbi::PlatformIntrinsic,
448446
s if *s == sym::ptx_dash_kernel => FnAbi::PtxKernel,
449447
s if *s == sym::riscv_dash_interrupt_dash_m => FnAbi::RiscvInterruptM,
450448
s if *s == sym::riscv_dash_interrupt_dash_s => FnAbi::RiscvInterruptS,
@@ -487,7 +485,6 @@ impl FnAbi {
487485
FnAbi::Fastcall => "fastcall",
488486
FnAbi::FastcallUnwind => "fastcall-unwind",
489487
FnAbi::Msp430Interrupt => "msp430-interrupt",
490-
FnAbi::PlatformIntrinsic => "platform-intrinsic",
491488
FnAbi::PtxKernel => "ptx-kernel",
492489
FnAbi::RiscvInterruptM => "riscv-interrupt-m",
493490
FnAbi::RiscvInterruptS => "riscv-interrupt-s",

src/tools/rust-analyzer/crates/ide-completion/src/completions/extern_abi.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const SUPPORTED_CALLING_CONVENTIONS: &[&str] = &[
3838
"system-unwind",
3939
"rust-intrinsic",
4040
"rust-call",
41-
"platform-intrinsic",
4241
"unadjusted",
4342
];
4443

src/tools/rust-analyzer/crates/intern/src/symbol/symbols.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ define_symbols! {
9999
cdecl_dash_unwind = "cdecl-unwind",
100100
fastcall_dash_unwind = "fastcall-unwind",
101101
msp430_dash_interrupt = "msp430-interrupt",
102-
platform_dash_intrinsic = "platform-intrinsic",
103102
ptx_dash_kernel = "ptx-kernel",
104103
riscv_dash_interrupt_dash_m = "riscv-interrupt-m",
105104
riscv_dash_interrupt_dash_s = "riscv-interrupt-s",

0 commit comments

Comments
 (0)