about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-09 23:10:29 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-09 23:15:14 -0800
commitf97679d6ba93ee83dec42a76b804483ddfbd2e11 (patch)
treec01b34f20c456bf6e9fafb01448d799cef21ce1f /src
parent6bd92ef9cb41246f2ed5d65d52c8dccb694f3990 (diff)
downloadrust-f97679d6ba93ee83dec42a76b804483ddfbd2e11.tar.gz
rust-f97679d6ba93ee83dec42a76b804483ddfbd2e11.zip
cg_clif: stop worrying about `Conv::PtxKernel`
Diffstat (limited to 'src')
-rw-r--r--src/abi/mod.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/abi/mod.rs b/src/abi/mod.rs
index fdcd9caf4ac..756a2226753 100644
--- a/src/abi/mod.rs
+++ b/src/abi/mod.rs
@@ -65,11 +65,7 @@ pub(crate) fn conv_to_call_conv(sess: &Session, c: Conv, default_call_conv: Call
             sess.dcx().fatal("C-cmse-nonsecure-entry call conv is not yet implemented");
         }
 
-        Conv::Msp430Intr
-        | Conv::PtxKernel
-        | Conv::GpuKernel
-        | Conv::AvrInterrupt
-        | Conv::AvrNonBlockingInterrupt => {
+        Conv::Msp430Intr | Conv::GpuKernel | Conv::AvrInterrupt | Conv::AvrNonBlockingInterrupt => {
             unreachable!("tried to use {c:?} call conv which only exists on an unsupported target");
         }
     }