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 | be1d6dfbfd841ed48b4b4fc8c3e42f6327723c90 (patch) | |
| tree | ccc1ea278082f6d665386fe8e6755c96a60060cd | |
| parent | e11e2b4d091635fad78d25c9ba444627ca094677 (diff) | |
| download | rust-be1d6dfbfd841ed48b4b4fc8c3e42f6327723c90.tar.gz rust-be1d6dfbfd841ed48b4b4fc8c3e42f6327723c90.zip | |
cg_clif: stop worrying about `Conv::PtxKernel`
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/abi/mod.rs | 6 |
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 fdcd9caf4ac..756a2226753 100644 --- a/compiler/rustc_codegen_cranelift/src/abi/mod.rs +++ b/compiler/rustc_codegen_cranelift/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"); } } |
