Rollup merge of #120495 - clubby789:remove-amdgpu-kernel, r=oli-obk
Remove the `abi_amdgpu_kernel` feature The tracking issue (#51575) has been closed for 3 years, with no activity for 5.
This commit is contained in:
commit
573e7f181d
26 changed files with 70 additions and 268 deletions
|
@ -56,11 +56,7 @@ pub(crate) fn conv_to_call_conv(sess: &Session, c: Conv, default_call_conv: Call
|
||||||
sess.dcx().fatal("C-cmse-nonsecure-call call conv is not yet implemented");
|
sess.dcx().fatal("C-cmse-nonsecure-call call conv is not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
Conv::Msp430Intr
|
Conv::Msp430Intr | Conv::PtxKernel | Conv::AvrInterrupt | Conv::AvrNonBlockingInterrupt => {
|
||||||
| Conv::PtxKernel
|
|
||||||
| Conv::AmdGpuKernel
|
|
||||||
| Conv::AvrInterrupt
|
|
||||||
| Conv::AvrNonBlockingInterrupt => {
|
|
||||||
unreachable!("tried to use {c:?} call conv which only exists on an unsupported target");
|
unreachable!("tried to use {c:?} call conv which only exists on an unsupported target");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -590,7 +590,6 @@ impl From<Conv> for llvm::CallConv {
|
||||||
Conv::Cold => llvm::ColdCallConv,
|
Conv::Cold => llvm::ColdCallConv,
|
||||||
Conv::PreserveMost => llvm::PreserveMost,
|
Conv::PreserveMost => llvm::PreserveMost,
|
||||||
Conv::PreserveAll => llvm::PreserveAll,
|
Conv::PreserveAll => llvm::PreserveAll,
|
||||||
Conv::AmdGpuKernel => llvm::AmdGpuKernel,
|
|
||||||
Conv::AvrInterrupt => llvm::AvrInterrupt,
|
Conv::AvrInterrupt => llvm::AvrInterrupt,
|
||||||
Conv::AvrNonBlockingInterrupt => llvm::AvrNonBlockingInterrupt,
|
Conv::AvrNonBlockingInterrupt => llvm::AvrNonBlockingInterrupt,
|
||||||
Conv::ArmAapcs => llvm::ArmAapcsCallConv,
|
Conv::ArmAapcs => llvm::ArmAapcsCallConv,
|
||||||
|
|
|
@ -106,7 +106,6 @@ pub enum CallConv {
|
||||||
X86_Intr = 83,
|
X86_Intr = 83,
|
||||||
AvrNonBlockingInterrupt = 84,
|
AvrNonBlockingInterrupt = 84,
|
||||||
AvrInterrupt = 85,
|
AvrInterrupt = 85,
|
||||||
AmdGpuKernel = 91,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// LLVMRustLinkage
|
/// LLVMRustLinkage
|
||||||
|
|
|
@ -32,6 +32,8 @@ declare_features! (
|
||||||
// feature-group-start: removed features
|
// feature-group-start: removed features
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/// Allows using the `amdgpu-kernel` ABI.
|
||||||
|
(removed, abi_amdgpu_kernel, "CURRENT_RUSTC_VERSION", Some(51575), None),
|
||||||
(removed, advanced_slice_patterns, "1.0.0", Some(62254),
|
(removed, advanced_slice_patterns, "1.0.0", Some(62254),
|
||||||
Some("merged into `#![feature(slice_patterns)]`")),
|
Some("merged into `#![feature(slice_patterns)]`")),
|
||||||
(removed, allocator, "1.0.0", None, None),
|
(removed, allocator, "1.0.0", None, None),
|
||||||
|
|
|
@ -321,8 +321,6 @@ declare_features! (
|
||||||
// feature-group-start: actual feature gates
|
// feature-group-start: actual feature gates
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
/// Allows using the `amdgpu-kernel` ABI.
|
|
||||||
(unstable, abi_amdgpu_kernel, "1.29.0", Some(51575)),
|
|
||||||
/// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`.
|
/// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`.
|
||||||
(unstable, abi_avr_interrupt, "1.45.0", Some(69664)),
|
(unstable, abi_avr_interrupt, "1.45.0", Some(69664)),
|
||||||
/// Allows `extern "C-cmse-nonsecure-call" fn()`.
|
/// Allows `extern "C-cmse-nonsecure-call" fn()`.
|
||||||
|
|
|
@ -1247,7 +1247,6 @@ pub fn fn_can_unwind(tcx: TyCtxt<'_>, fn_def_id: Option<DefId>, abi: SpecAbi) ->
|
||||||
PtxKernel
|
PtxKernel
|
||||||
| Msp430Interrupt
|
| Msp430Interrupt
|
||||||
| X86Interrupt
|
| X86Interrupt
|
||||||
| AmdGpuKernel
|
|
||||||
| EfiApi
|
| EfiApi
|
||||||
| AvrInterrupt
|
| AvrInterrupt
|
||||||
| AvrNonBlockingInterrupt
|
| AvrNonBlockingInterrupt
|
||||||
|
|
|
@ -26,7 +26,6 @@ fn abi_can_unwind(abi: Abi) -> bool {
|
||||||
PtxKernel
|
PtxKernel
|
||||||
| Msp430Interrupt
|
| Msp430Interrupt
|
||||||
| X86Interrupt
|
| X86Interrupt
|
||||||
| AmdGpuKernel
|
|
||||||
| EfiApi
|
| EfiApi
|
||||||
| AvrInterrupt
|
| AvrInterrupt
|
||||||
| AvrNonBlockingInterrupt
|
| AvrNonBlockingInterrupt
|
||||||
|
|
|
@ -449,7 +449,6 @@ impl RustcInternal for Abi {
|
||||||
Abi::PtxKernel => rustc_target::spec::abi::Abi::PtxKernel,
|
Abi::PtxKernel => rustc_target::spec::abi::Abi::PtxKernel,
|
||||||
Abi::Msp430Interrupt => rustc_target::spec::abi::Abi::Msp430Interrupt,
|
Abi::Msp430Interrupt => rustc_target::spec::abi::Abi::Msp430Interrupt,
|
||||||
Abi::X86Interrupt => rustc_target::spec::abi::Abi::X86Interrupt,
|
Abi::X86Interrupt => rustc_target::spec::abi::Abi::X86Interrupt,
|
||||||
Abi::AmdGpuKernel => rustc_target::spec::abi::Abi::AmdGpuKernel,
|
|
||||||
Abi::EfiApi => rustc_target::spec::abi::Abi::EfiApi,
|
Abi::EfiApi => rustc_target::spec::abi::Abi::EfiApi,
|
||||||
Abi::AvrInterrupt => rustc_target::spec::abi::Abi::AvrInterrupt,
|
Abi::AvrInterrupt => rustc_target::spec::abi::Abi::AvrInterrupt,
|
||||||
Abi::AvrNonBlockingInterrupt => rustc_target::spec::abi::Abi::AvrNonBlockingInterrupt,
|
Abi::AvrNonBlockingInterrupt => rustc_target::spec::abi::Abi::AvrNonBlockingInterrupt,
|
||||||
|
|
|
@ -111,7 +111,6 @@ impl<'tcx> Stable<'tcx> for rustc_target::abi::call::Conv {
|
||||||
Conv::X86VectorCall => CallConvention::X86VectorCall,
|
Conv::X86VectorCall => CallConvention::X86VectorCall,
|
||||||
Conv::X86_64SysV => CallConvention::X86_64SysV,
|
Conv::X86_64SysV => CallConvention::X86_64SysV,
|
||||||
Conv::X86_64Win64 => CallConvention::X86_64Win64,
|
Conv::X86_64Win64 => CallConvention::X86_64Win64,
|
||||||
Conv::AmdGpuKernel => CallConvention::AmdGpuKernel,
|
|
||||||
Conv::AvrInterrupt => CallConvention::AvrInterrupt,
|
Conv::AvrInterrupt => CallConvention::AvrInterrupt,
|
||||||
Conv::AvrNonBlockingInterrupt => CallConvention::AvrNonBlockingInterrupt,
|
Conv::AvrNonBlockingInterrupt => CallConvention::AvrNonBlockingInterrupt,
|
||||||
Conv::RiscvInterrupt { .. } => CallConvention::RiscvInterrupt,
|
Conv::RiscvInterrupt { .. } => CallConvention::RiscvInterrupt,
|
||||||
|
|
|
@ -223,7 +223,6 @@ impl<'tcx> Stable<'tcx> for ty::FnSig<'tcx> {
|
||||||
abi::Abi::PtxKernel => Abi::PtxKernel,
|
abi::Abi::PtxKernel => Abi::PtxKernel,
|
||||||
abi::Abi::Msp430Interrupt => Abi::Msp430Interrupt,
|
abi::Abi::Msp430Interrupt => Abi::Msp430Interrupt,
|
||||||
abi::Abi::X86Interrupt => Abi::X86Interrupt,
|
abi::Abi::X86Interrupt => Abi::X86Interrupt,
|
||||||
abi::Abi::AmdGpuKernel => Abi::AmdGpuKernel,
|
|
||||||
abi::Abi::EfiApi => Abi::EfiApi,
|
abi::Abi::EfiApi => Abi::EfiApi,
|
||||||
abi::Abi::AvrInterrupt => Abi::AvrInterrupt,
|
abi::Abi::AvrInterrupt => Abi::AvrInterrupt,
|
||||||
abi::Abi::AvrNonBlockingInterrupt => Abi::AvrNonBlockingInterrupt,
|
abi::Abi::AvrNonBlockingInterrupt => Abi::AvrNonBlockingInterrupt,
|
||||||
|
|
|
@ -705,7 +705,6 @@ pub enum Conv {
|
||||||
X86_64SysV,
|
X86_64SysV,
|
||||||
X86_64Win64,
|
X86_64Win64,
|
||||||
|
|
||||||
AmdGpuKernel,
|
|
||||||
AvrInterrupt,
|
AvrInterrupt,
|
||||||
AvrNonBlockingInterrupt,
|
AvrNonBlockingInterrupt,
|
||||||
|
|
||||||
|
@ -887,7 +886,6 @@ impl FromStr for Conv {
|
||||||
"X86VectorCall" => Ok(Conv::X86VectorCall),
|
"X86VectorCall" => Ok(Conv::X86VectorCall),
|
||||||
"X86_64SysV" => Ok(Conv::X86_64SysV),
|
"X86_64SysV" => Ok(Conv::X86_64SysV),
|
||||||
"X86_64Win64" => Ok(Conv::X86_64Win64),
|
"X86_64Win64" => Ok(Conv::X86_64Win64),
|
||||||
"AmdGpuKernel" => Ok(Conv::AmdGpuKernel),
|
|
||||||
"AvrInterrupt" => Ok(Conv::AvrInterrupt),
|
"AvrInterrupt" => Ok(Conv::AvrInterrupt),
|
||||||
"AvrNonBlockingInterrupt" => Ok(Conv::AvrNonBlockingInterrupt),
|
"AvrNonBlockingInterrupt" => Ok(Conv::AvrNonBlockingInterrupt),
|
||||||
"RiscvInterrupt(machine)" => {
|
"RiscvInterrupt(machine)" => {
|
||||||
|
|
|
@ -110,7 +110,6 @@ impl ToJson for crate::abi::call::Conv {
|
||||||
Self::X86VectorCall => "X86VectorCall",
|
Self::X86VectorCall => "X86VectorCall",
|
||||||
Self::X86_64SysV => "X86_64SysV",
|
Self::X86_64SysV => "X86_64SysV",
|
||||||
Self::X86_64Win64 => "X86_64Win64",
|
Self::X86_64Win64 => "X86_64Win64",
|
||||||
Self::AmdGpuKernel => "AmdGpuKernel",
|
|
||||||
Self::AvrInterrupt => "AvrInterrupt",
|
Self::AvrInterrupt => "AvrInterrupt",
|
||||||
Self::AvrNonBlockingInterrupt => "AvrNonBlockingInterrupt",
|
Self::AvrNonBlockingInterrupt => "AvrNonBlockingInterrupt",
|
||||||
Self::RiscvInterrupt { kind } => {
|
Self::RiscvInterrupt { kind } => {
|
||||||
|
|
|
@ -44,7 +44,6 @@ pub enum Abi {
|
||||||
PtxKernel,
|
PtxKernel,
|
||||||
Msp430Interrupt,
|
Msp430Interrupt,
|
||||||
X86Interrupt,
|
X86Interrupt,
|
||||||
AmdGpuKernel,
|
|
||||||
EfiApi,
|
EfiApi,
|
||||||
AvrInterrupt,
|
AvrInterrupt,
|
||||||
AvrNonBlockingInterrupt,
|
AvrNonBlockingInterrupt,
|
||||||
|
@ -121,7 +120,6 @@ const AbiDatas: &[AbiData] = &[
|
||||||
AbiData { abi: Abi::PtxKernel, name: "ptx-kernel" },
|
AbiData { abi: Abi::PtxKernel, name: "ptx-kernel" },
|
||||||
AbiData { abi: Abi::Msp430Interrupt, name: "msp430-interrupt" },
|
AbiData { abi: Abi::Msp430Interrupt, name: "msp430-interrupt" },
|
||||||
AbiData { abi: Abi::X86Interrupt, name: "x86-interrupt" },
|
AbiData { abi: Abi::X86Interrupt, name: "x86-interrupt" },
|
||||||
AbiData { abi: Abi::AmdGpuKernel, name: "amdgpu-kernel" },
|
|
||||||
AbiData { abi: Abi::EfiApi, name: "efiapi" },
|
AbiData { abi: Abi::EfiApi, name: "efiapi" },
|
||||||
AbiData { abi: Abi::AvrInterrupt, name: "avr-interrupt" },
|
AbiData { abi: Abi::AvrInterrupt, name: "avr-interrupt" },
|
||||||
AbiData { abi: Abi::AvrNonBlockingInterrupt, name: "avr-non-blocking-interrupt" },
|
AbiData { abi: Abi::AvrNonBlockingInterrupt, name: "avr-non-blocking-interrupt" },
|
||||||
|
@ -237,10 +235,6 @@ pub fn is_stable(name: &str) -> Result<(), AbiDisabled> {
|
||||||
feature: sym::abi_x86_interrupt,
|
feature: sym::abi_x86_interrupt,
|
||||||
explain: "x86-interrupt ABI is experimental and subject to change",
|
explain: "x86-interrupt ABI is experimental and subject to change",
|
||||||
}),
|
}),
|
||||||
"amdgpu-kernel" => Err(AbiDisabled::Unstable {
|
|
||||||
feature: sym::abi_amdgpu_kernel,
|
|
||||||
explain: "amdgpu-kernel ABI is experimental and subject to change",
|
|
||||||
}),
|
|
||||||
"avr-interrupt" | "avr-non-blocking-interrupt" => Err(AbiDisabled::Unstable {
|
"avr-interrupt" | "avr-non-blocking-interrupt" => Err(AbiDisabled::Unstable {
|
||||||
feature: sym::abi_avr_interrupt,
|
feature: sym::abi_avr_interrupt,
|
||||||
explain: "avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change",
|
explain: "avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change",
|
||||||
|
@ -295,22 +289,21 @@ impl Abi {
|
||||||
PtxKernel => 19,
|
PtxKernel => 19,
|
||||||
Msp430Interrupt => 20,
|
Msp430Interrupt => 20,
|
||||||
X86Interrupt => 21,
|
X86Interrupt => 21,
|
||||||
AmdGpuKernel => 22,
|
EfiApi => 22,
|
||||||
EfiApi => 23,
|
AvrInterrupt => 23,
|
||||||
AvrInterrupt => 24,
|
AvrNonBlockingInterrupt => 24,
|
||||||
AvrNonBlockingInterrupt => 25,
|
CCmseNonSecureCall => 25,
|
||||||
CCmseNonSecureCall => 26,
|
Wasm => 26,
|
||||||
Wasm => 27,
|
|
||||||
// Cross-platform ABIs
|
// Cross-platform ABIs
|
||||||
System { unwind: false } => 28,
|
System { unwind: false } => 27,
|
||||||
System { unwind: true } => 29,
|
System { unwind: true } => 28,
|
||||||
RustIntrinsic => 30,
|
RustIntrinsic => 29,
|
||||||
RustCall => 31,
|
RustCall => 30,
|
||||||
PlatformIntrinsic => 32,
|
PlatformIntrinsic => 31,
|
||||||
Unadjusted => 33,
|
Unadjusted => 32,
|
||||||
RustCold => 34,
|
RustCold => 33,
|
||||||
RiscvInterruptM => 35,
|
RiscvInterruptM => 34,
|
||||||
RiscvInterruptS => 36,
|
RiscvInterruptS => 35,
|
||||||
};
|
};
|
||||||
debug_assert!(
|
debug_assert!(
|
||||||
AbiDatas
|
AbiDatas
|
||||||
|
|
|
@ -2457,7 +2457,6 @@ impl Target {
|
||||||
Win64 { .. } | SysV64 { .. } => self.arch == "x86_64",
|
Win64 { .. } | SysV64 { .. } => self.arch == "x86_64",
|
||||||
PtxKernel => self.arch == "nvptx64",
|
PtxKernel => self.arch == "nvptx64",
|
||||||
Msp430Interrupt => self.arch == "msp430",
|
Msp430Interrupt => self.arch == "msp430",
|
||||||
AmdGpuKernel => self.arch == "amdgcn",
|
|
||||||
RiscvInterruptM | RiscvInterruptS => ["riscv32", "riscv64"].contains(&&self.arch[..]),
|
RiscvInterruptM | RiscvInterruptS => ["riscv32", "riscv64"].contains(&&self.arch[..]),
|
||||||
AvrInterrupt | AvrNonBlockingInterrupt => self.arch == "avr",
|
AvrInterrupt | AvrNonBlockingInterrupt => self.arch == "avr",
|
||||||
Wasm => ["wasm32", "wasm64"].contains(&&self.arch[..]),
|
Wasm => ["wasm32", "wasm64"].contains(&&self.arch[..]),
|
||||||
|
|
|
@ -258,7 +258,6 @@ fn conv_from_spec_abi(tcx: TyCtxt<'_>, abi: SpecAbi, c_variadic: bool) -> Conv {
|
||||||
PtxKernel => Conv::PtxKernel,
|
PtxKernel => Conv::PtxKernel,
|
||||||
Msp430Interrupt => Conv::Msp430Intr,
|
Msp430Interrupt => Conv::Msp430Intr,
|
||||||
X86Interrupt => Conv::X86Intr,
|
X86Interrupt => Conv::X86Intr,
|
||||||
AmdGpuKernel => Conv::AmdGpuKernel,
|
|
||||||
AvrInterrupt => Conv::AvrInterrupt,
|
AvrInterrupt => Conv::AvrInterrupt,
|
||||||
AvrNonBlockingInterrupt => Conv::AvrNonBlockingInterrupt,
|
AvrNonBlockingInterrupt => Conv::AvrNonBlockingInterrupt,
|
||||||
RiscvInterruptM => Conv::RiscvInterrupt { kind: RiscvInterruptKind::Machine },
|
RiscvInterruptM => Conv::RiscvInterrupt { kind: RiscvInterruptKind::Machine },
|
||||||
|
|
|
@ -275,7 +275,6 @@ pub enum CallConvention {
|
||||||
X86_64SysV,
|
X86_64SysV,
|
||||||
X86_64Win64,
|
X86_64Win64,
|
||||||
|
|
||||||
AmdGpuKernel,
|
|
||||||
AvrInterrupt,
|
AvrInterrupt,
|
||||||
AvrNonBlockingInterrupt,
|
AvrNonBlockingInterrupt,
|
||||||
|
|
||||||
|
|
|
@ -864,7 +864,6 @@ pub enum Abi {
|
||||||
PtxKernel,
|
PtxKernel,
|
||||||
Msp430Interrupt,
|
Msp430Interrupt,
|
||||||
X86Interrupt,
|
X86Interrupt,
|
||||||
AmdGpuKernel,
|
|
||||||
EfiApi,
|
EfiApi,
|
||||||
AvrInterrupt,
|
AvrInterrupt,
|
||||||
AvrNonBlockingInterrupt,
|
AvrNonBlockingInterrupt,
|
||||||
|
|
|
@ -1,59 +1,53 @@
|
||||||
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:30:1
|
--> $DIR/unsupported.rs:29:1
|
||||||
|
|
|
|
||||||
LL | extern "ptx-kernel" fn ptx() {}
|
LL | extern "ptx-kernel" fn ptx() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/unsupported.rs:32:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn amdgpu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:34:1
|
--> $DIR/unsupported.rs:31:1
|
||||||
|
|
|
|
||||||
LL | extern "wasm" fn wasm() {}
|
LL | extern "wasm" fn wasm() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:36:1
|
--> $DIR/unsupported.rs:33:1
|
||||||
|
|
|
|
||||||
LL | extern "aapcs" fn aapcs() {}
|
LL | extern "aapcs" fn aapcs() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:42:1
|
--> $DIR/unsupported.rs:39:1
|
||||||
|
|
|
|
||||||
LL | extern "msp430-interrupt" fn msp430() {}
|
LL | extern "msp430-interrupt" fn msp430() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:44:1
|
--> $DIR/unsupported.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "avr-interrupt" fn avr() {}
|
LL | extern "avr-interrupt" fn avr() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:46:1
|
--> $DIR/unsupported.rs:43:1
|
||||||
|
|
|
|
||||||
LL | extern "riscv-interrupt-m" fn riscv() {}
|
LL | extern "riscv-interrupt-m" fn riscv() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:51:1
|
--> $DIR/unsupported.rs:48:1
|
||||||
|
|
|
|
||||||
LL | extern "x86-interrupt" fn x86() {}
|
LL | extern "x86-interrupt" fn x86() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:56:1
|
--> $DIR/unsupported.rs:53:1
|
||||||
|
|
|
|
||||||
LL | extern "thiscall" fn thiscall() {}
|
LL | extern "thiscall" fn thiscall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
warning: use of calling convention not supported on this target
|
warning: use of calling convention not supported on this target
|
||||||
--> $DIR/unsupported.rs:62:1
|
--> $DIR/unsupported.rs:59:1
|
||||||
|
|
|
|
||||||
LL | extern "stdcall" fn stdcall() {}
|
LL | extern "stdcall" fn stdcall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -62,6 +56,6 @@ LL | extern "stdcall" fn stdcall() {}
|
||||||
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
||||||
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
||||||
|
|
||||||
error: aborting due to 9 previous errors; 1 warning emitted
|
error: aborting due to 8 previous errors; 1 warning emitted
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0570`.
|
For more information about this error, try `rustc --explain E0570`.
|
||||||
|
|
|
@ -1,53 +1,47 @@
|
||||||
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:30:1
|
--> $DIR/unsupported.rs:29:1
|
||||||
|
|
|
|
||||||
LL | extern "ptx-kernel" fn ptx() {}
|
LL | extern "ptx-kernel" fn ptx() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/unsupported.rs:32:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn amdgpu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:34:1
|
--> $DIR/unsupported.rs:31:1
|
||||||
|
|
|
|
||||||
LL | extern "wasm" fn wasm() {}
|
LL | extern "wasm" fn wasm() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:42:1
|
--> $DIR/unsupported.rs:39:1
|
||||||
|
|
|
|
||||||
LL | extern "msp430-interrupt" fn msp430() {}
|
LL | extern "msp430-interrupt" fn msp430() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:44:1
|
--> $DIR/unsupported.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "avr-interrupt" fn avr() {}
|
LL | extern "avr-interrupt" fn avr() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:46:1
|
--> $DIR/unsupported.rs:43:1
|
||||||
|
|
|
|
||||||
LL | extern "riscv-interrupt-m" fn riscv() {}
|
LL | extern "riscv-interrupt-m" fn riscv() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:51:1
|
--> $DIR/unsupported.rs:48:1
|
||||||
|
|
|
|
||||||
LL | extern "x86-interrupt" fn x86() {}
|
LL | extern "x86-interrupt" fn x86() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:56:1
|
--> $DIR/unsupported.rs:53:1
|
||||||
|
|
|
|
||||||
LL | extern "thiscall" fn thiscall() {}
|
LL | extern "thiscall" fn thiscall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
warning: use of calling convention not supported on this target
|
warning: use of calling convention not supported on this target
|
||||||
--> $DIR/unsupported.rs:62:1
|
--> $DIR/unsupported.rs:59:1
|
||||||
|
|
|
|
||||||
LL | extern "stdcall" fn stdcall() {}
|
LL | extern "stdcall" fn stdcall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -56,6 +50,6 @@ LL | extern "stdcall" fn stdcall() {}
|
||||||
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
||||||
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
||||||
|
|
||||||
error: aborting due to 8 previous errors; 1 warning emitted
|
error: aborting due to 7 previous errors; 1 warning emitted
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0570`.
|
For more information about this error, try `rustc --explain E0570`.
|
||||||
|
|
|
@ -1,45 +1,39 @@
|
||||||
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:30:1
|
--> $DIR/unsupported.rs:29:1
|
||||||
|
|
|
|
||||||
LL | extern "ptx-kernel" fn ptx() {}
|
LL | extern "ptx-kernel" fn ptx() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/unsupported.rs:32:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn amdgpu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:34:1
|
--> $DIR/unsupported.rs:31:1
|
||||||
|
|
|
|
||||||
LL | extern "wasm" fn wasm() {}
|
LL | extern "wasm" fn wasm() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:36:1
|
--> $DIR/unsupported.rs:33:1
|
||||||
|
|
|
|
||||||
LL | extern "aapcs" fn aapcs() {}
|
LL | extern "aapcs" fn aapcs() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:42:1
|
--> $DIR/unsupported.rs:39:1
|
||||||
|
|
|
|
||||||
LL | extern "msp430-interrupt" fn msp430() {}
|
LL | extern "msp430-interrupt" fn msp430() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:44:1
|
--> $DIR/unsupported.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "avr-interrupt" fn avr() {}
|
LL | extern "avr-interrupt" fn avr() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:46:1
|
--> $DIR/unsupported.rs:43:1
|
||||||
|
|
|
|
||||||
LL | extern "riscv-interrupt-m" fn riscv() {}
|
LL | extern "riscv-interrupt-m" fn riscv() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error: aborting due to 7 previous errors
|
error: aborting due to 6 previous errors
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0570`.
|
For more information about this error, try `rustc --explain E0570`.
|
||||||
|
|
|
@ -1,53 +1,47 @@
|
||||||
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:30:1
|
--> $DIR/unsupported.rs:29:1
|
||||||
|
|
|
|
||||||
LL | extern "ptx-kernel" fn ptx() {}
|
LL | extern "ptx-kernel" fn ptx() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/unsupported.rs:32:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn amdgpu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:34:1
|
--> $DIR/unsupported.rs:31:1
|
||||||
|
|
|
|
||||||
LL | extern "wasm" fn wasm() {}
|
LL | extern "wasm" fn wasm() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:36:1
|
--> $DIR/unsupported.rs:33:1
|
||||||
|
|
|
|
||||||
LL | extern "aapcs" fn aapcs() {}
|
LL | extern "aapcs" fn aapcs() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:42:1
|
--> $DIR/unsupported.rs:39:1
|
||||||
|
|
|
|
||||||
LL | extern "msp430-interrupt" fn msp430() {}
|
LL | extern "msp430-interrupt" fn msp430() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:44:1
|
--> $DIR/unsupported.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "avr-interrupt" fn avr() {}
|
LL | extern "avr-interrupt" fn avr() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:51:1
|
--> $DIR/unsupported.rs:48:1
|
||||||
|
|
|
|
||||||
LL | extern "x86-interrupt" fn x86() {}
|
LL | extern "x86-interrupt" fn x86() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:56:1
|
--> $DIR/unsupported.rs:53:1
|
||||||
|
|
|
|
||||||
LL | extern "thiscall" fn thiscall() {}
|
LL | extern "thiscall" fn thiscall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
warning: use of calling convention not supported on this target
|
warning: use of calling convention not supported on this target
|
||||||
--> $DIR/unsupported.rs:62:1
|
--> $DIR/unsupported.rs:59:1
|
||||||
|
|
|
|
||||||
LL | extern "stdcall" fn stdcall() {}
|
LL | extern "stdcall" fn stdcall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -56,6 +50,6 @@ LL | extern "stdcall" fn stdcall() {}
|
||||||
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
||||||
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
||||||
|
|
||||||
error: aborting due to 8 previous errors; 1 warning emitted
|
error: aborting due to 7 previous errors; 1 warning emitted
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0570`.
|
For more information about this error, try `rustc --explain E0570`.
|
||||||
|
|
|
@ -1,53 +1,47 @@
|
||||||
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:30:1
|
--> $DIR/unsupported.rs:29:1
|
||||||
|
|
|
|
||||||
LL | extern "ptx-kernel" fn ptx() {}
|
LL | extern "ptx-kernel" fn ptx() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/unsupported.rs:32:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn amdgpu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:34:1
|
--> $DIR/unsupported.rs:31:1
|
||||||
|
|
|
|
||||||
LL | extern "wasm" fn wasm() {}
|
LL | extern "wasm" fn wasm() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:36:1
|
--> $DIR/unsupported.rs:33:1
|
||||||
|
|
|
|
||||||
LL | extern "aapcs" fn aapcs() {}
|
LL | extern "aapcs" fn aapcs() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:42:1
|
--> $DIR/unsupported.rs:39:1
|
||||||
|
|
|
|
||||||
LL | extern "msp430-interrupt" fn msp430() {}
|
LL | extern "msp430-interrupt" fn msp430() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:44:1
|
--> $DIR/unsupported.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "avr-interrupt" fn avr() {}
|
LL | extern "avr-interrupt" fn avr() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:51:1
|
--> $DIR/unsupported.rs:48:1
|
||||||
|
|
|
|
||||||
LL | extern "x86-interrupt" fn x86() {}
|
LL | extern "x86-interrupt" fn x86() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:56:1
|
--> $DIR/unsupported.rs:53:1
|
||||||
|
|
|
|
||||||
LL | extern "thiscall" fn thiscall() {}
|
LL | extern "thiscall" fn thiscall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
warning: use of calling convention not supported on this target
|
warning: use of calling convention not supported on this target
|
||||||
--> $DIR/unsupported.rs:62:1
|
--> $DIR/unsupported.rs:59:1
|
||||||
|
|
|
|
||||||
LL | extern "stdcall" fn stdcall() {}
|
LL | extern "stdcall" fn stdcall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -56,6 +50,6 @@ LL | extern "stdcall" fn stdcall() {}
|
||||||
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
||||||
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
||||||
|
|
||||||
error: aborting due to 8 previous errors; 1 warning emitted
|
error: aborting due to 7 previous errors; 1 warning emitted
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0570`.
|
For more information about this error, try `rustc --explain E0570`.
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
abi_ptx,
|
abi_ptx,
|
||||||
abi_msp430_interrupt,
|
abi_msp430_interrupt,
|
||||||
abi_avr_interrupt,
|
abi_avr_interrupt,
|
||||||
abi_amdgpu_kernel,
|
|
||||||
wasm_abi,
|
wasm_abi,
|
||||||
abi_x86_interrupt,
|
abi_x86_interrupt,
|
||||||
abi_riscv_interrupt
|
abi_riscv_interrupt
|
||||||
|
@ -29,8 +28,6 @@ trait Sized {}
|
||||||
|
|
||||||
extern "ptx-kernel" fn ptx() {}
|
extern "ptx-kernel" fn ptx() {}
|
||||||
//~^ ERROR is not a supported ABI
|
//~^ ERROR is not a supported ABI
|
||||||
extern "amdgpu-kernel" fn amdgpu() {}
|
|
||||||
//~^ ERROR is not a supported ABI
|
|
||||||
extern "wasm" fn wasm() {}
|
extern "wasm" fn wasm() {}
|
||||||
//~^ ERROR is not a supported ABI
|
//~^ ERROR is not a supported ABI
|
||||||
extern "aapcs" fn aapcs() {}
|
extern "aapcs" fn aapcs() {}
|
||||||
|
|
|
@ -1,53 +1,47 @@
|
||||||
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:30:1
|
--> $DIR/unsupported.rs:29:1
|
||||||
|
|
|
|
||||||
LL | extern "ptx-kernel" fn ptx() {}
|
LL | extern "ptx-kernel" fn ptx() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/unsupported.rs:32:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn amdgpu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:34:1
|
--> $DIR/unsupported.rs:31:1
|
||||||
|
|
|
|
||||||
LL | extern "wasm" fn wasm() {}
|
LL | extern "wasm" fn wasm() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:36:1
|
--> $DIR/unsupported.rs:33:1
|
||||||
|
|
|
|
||||||
LL | extern "aapcs" fn aapcs() {}
|
LL | extern "aapcs" fn aapcs() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:42:1
|
--> $DIR/unsupported.rs:39:1
|
||||||
|
|
|
|
||||||
LL | extern "msp430-interrupt" fn msp430() {}
|
LL | extern "msp430-interrupt" fn msp430() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:44:1
|
--> $DIR/unsupported.rs:41:1
|
||||||
|
|
|
|
||||||
LL | extern "avr-interrupt" fn avr() {}
|
LL | extern "avr-interrupt" fn avr() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:46:1
|
--> $DIR/unsupported.rs:43:1
|
||||||
|
|
|
|
||||||
LL | extern "riscv-interrupt-m" fn riscv() {}
|
LL | extern "riscv-interrupt-m" fn riscv() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
||||||
--> $DIR/unsupported.rs:56:1
|
--> $DIR/unsupported.rs:53:1
|
||||||
|
|
|
|
||||||
LL | extern "thiscall" fn thiscall() {}
|
LL | extern "thiscall" fn thiscall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
warning: use of calling convention not supported on this target
|
warning: use of calling convention not supported on this target
|
||||||
--> $DIR/unsupported.rs:62:1
|
--> $DIR/unsupported.rs:59:1
|
||||||
|
|
|
|
||||||
LL | extern "stdcall" fn stdcall() {}
|
LL | extern "stdcall" fn stdcall() {}
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -56,6 +50,6 @@ LL | extern "stdcall" fn stdcall() {}
|
||||||
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
||||||
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
||||||
|
|
||||||
error: aborting due to 8 previous errors; 1 warning emitted
|
error: aborting due to 7 previous errors; 1 warning emitted
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0570`.
|
For more information about this error, try `rustc --explain E0570`.
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
// compile-flags: --crate-type=rlib
|
|
||||||
#![no_core]
|
|
||||||
#![feature(no_core, lang_items)]
|
|
||||||
#[lang="sized"]
|
|
||||||
trait Sized { }
|
|
||||||
|
|
||||||
extern "amdgpu-kernel" fn fu() {} //~ ERROR amdgpu-kernel ABI is experimental
|
|
||||||
//~^ ERROR is not a supported ABI
|
|
||||||
|
|
||||||
trait T {
|
|
||||||
extern "amdgpu-kernel" fn mu(); //~ ERROR amdgpu-kernel ABI is experimental
|
|
||||||
extern "amdgpu-kernel" fn dmu() {} //~ ERROR amdgpu-kernel ABI is experimental
|
|
||||||
//~^ ERROR is not a supported ABI
|
|
||||||
}
|
|
||||||
|
|
||||||
struct S;
|
|
||||||
impl T for S {
|
|
||||||
extern "amdgpu-kernel" fn mu() {} //~ ERROR amdgpu-kernel ABI is experimental
|
|
||||||
//~^ ERROR is not a supported ABI
|
|
||||||
}
|
|
||||||
|
|
||||||
impl S {
|
|
||||||
extern "amdgpu-kernel" fn imu() {} //~ ERROR amdgpu-kernel ABI is experimental
|
|
||||||
//~^ ERROR is not a supported ABI
|
|
||||||
}
|
|
||||||
|
|
||||||
type TAU = extern "amdgpu-kernel" fn(); //~ ERROR amdgpu-kernel ABI is experimental
|
|
||||||
|
|
||||||
extern "amdgpu-kernel" {} //~ ERROR amdgpu-kernel ABI is experimental
|
|
||||||
//~^ ERROR is not a supported ABI
|
|
|
@ -1,104 +0,0 @@
|
||||||
error[E0658]: amdgpu-kernel ABI is experimental and subject to change
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:7:8
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn fu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^
|
|
||||||
|
|
|
||||||
= note: see issue #51575 <https://github.com/rust-lang/rust/issues/51575> for more information
|
|
||||||
= help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
|
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
||||||
|
|
||||||
error[E0658]: amdgpu-kernel ABI is experimental and subject to change
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:11:12
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn mu();
|
|
||||||
| ^^^^^^^^^^^^^^^
|
|
||||||
|
|
|
||||||
= note: see issue #51575 <https://github.com/rust-lang/rust/issues/51575> for more information
|
|
||||||
= help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
|
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
||||||
|
|
||||||
error[E0658]: amdgpu-kernel ABI is experimental and subject to change
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:12:12
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn dmu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^
|
|
||||||
|
|
|
||||||
= note: see issue #51575 <https://github.com/rust-lang/rust/issues/51575> for more information
|
|
||||||
= help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
|
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
||||||
|
|
||||||
error[E0658]: amdgpu-kernel ABI is experimental and subject to change
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:18:12
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn mu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^
|
|
||||||
|
|
|
||||||
= note: see issue #51575 <https://github.com/rust-lang/rust/issues/51575> for more information
|
|
||||||
= help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
|
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
||||||
|
|
||||||
error[E0658]: amdgpu-kernel ABI is experimental and subject to change
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:23:12
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn imu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^
|
|
||||||
|
|
|
||||||
= note: see issue #51575 <https://github.com/rust-lang/rust/issues/51575> for more information
|
|
||||||
= help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
|
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
||||||
|
|
||||||
error[E0658]: amdgpu-kernel ABI is experimental and subject to change
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:27:19
|
|
||||||
|
|
|
||||||
LL | type TAU = extern "amdgpu-kernel" fn();
|
|
||||||
| ^^^^^^^^^^^^^^^
|
|
||||||
|
|
|
||||||
= note: see issue #51575 <https://github.com/rust-lang/rust/issues/51575> for more information
|
|
||||||
= help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
|
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
||||||
|
|
||||||
error[E0658]: amdgpu-kernel ABI is experimental and subject to change
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:29:8
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" {}
|
|
||||||
| ^^^^^^^^^^^^^^^
|
|
||||||
|
|
|
||||||
= note: see issue #51575 <https://github.com/rust-lang/rust/issues/51575> for more information
|
|
||||||
= help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable
|
|
||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:29:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:7:1
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn fu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:12:5
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn dmu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:18:5
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn mu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
|
||||||
--> $DIR/feature-gate-abi_amdgpu_kernel.rs:23:5
|
|
||||||
|
|
|
||||||
LL | extern "amdgpu-kernel" fn imu() {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
error: aborting due to 12 previous errors
|
|
||||||
|
|
||||||
Some errors have detailed explanations: E0570, E0658.
|
|
||||||
For more information about an error, try `rustc --explain E0570`.
|
|
Loading…
Add table
Reference in a new issue