diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-02-09 23:10:29 -0800 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-09 23:15:14 -0800 |
| commit | f97679d6ba93ee83dec42a76b804483ddfbd2e11 (patch) | |
| tree | c01b34f20c456bf6e9fafb01448d799cef21ce1f /src | |
| parent | 6bd92ef9cb41246f2ed5d65d52c8dccb694f3990 (diff) | |
| download | rust-f97679d6ba93ee83dec42a76b804483ddfbd2e11.tar.gz rust-f97679d6ba93ee83dec42a76b804483ddfbd2e11.zip | |
cg_clif: stop worrying about `Conv::PtxKernel`
Diffstat (limited to 'src')
| -rw-r--r-- | src/abi/mod.rs | 6 |
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"); } } |
