about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-01-30 15:39:29 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-01-30 15:46:40 +0000
commitf6b21e90d1ec01081bc2619efb68af6788a63d65 (patch)
tree699e6668a154f285a9084496727519a2bdfb71c9 /compiler/rustc_codegen_cranelift
parentc401f099795231fca8adf6619d76ccdcfbbfd2f9 (diff)
downloadrust-f6b21e90d1ec01081bc2619efb68af6788a63d65.tar.gz
rust-f6b21e90d1ec01081bc2619efb68af6788a63d65.zip
Remove the `abi_amdgpu_kernel` feature
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
-rw-r--r--compiler/rustc_codegen_cranelift/src/abi/mod.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/abi/mod.rs b/compiler/rustc_codegen_cranelift/src/abi/mod.rs
index abd70dd4458..0f0d828c8fc 100644
--- a/compiler/rustc_codegen_cranelift/src/abi/mod.rs
+++ b/compiler/rustc_codegen_cranelift/src/abi/mod.rs
@@ -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");
         }
 
-        Conv::Msp430Intr
-        | Conv::PtxKernel
-        | Conv::AmdGpuKernel
-        | Conv::AvrInterrupt
-        | Conv::AvrNonBlockingInterrupt => {
+        Conv::Msp430Intr | Conv::PtxKernel | Conv::AvrInterrupt | Conv::AvrNonBlockingInterrupt => {
             unreachable!("tried to use {c:?} call conv which only exists on an unsupported target");
         }
     }