about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-12-16 15:45:07 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-12-16 15:45:07 +0000
commit8b478012086f4df5c21e4ec0016631fac163133f (patch)
treea60237ffc92dfc73ed91f06e299144799020cf04 /src
parentee05e4d5ab76a94f46705e9afb01357d138fd519 (diff)
downloadrust-8b478012086f4df5c21e4ec0016631fac163133f.tar.gz
rust-8b478012086f4df5c21e4ec0016631fac163133f.zip
Don't ICE on C-cmse-nonsecure-call either
Diffstat (limited to 'src')
-rw-r--r--src/abi/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/abi/mod.rs b/src/abi/mod.rs
index 90ec8ec3685..3c34585d419 100644
--- a/src/abi/mod.rs
+++ b/src/abi/mod.rs
@@ -49,9 +49,11 @@ pub(crate) fn conv_to_call_conv(sess: &Session, c: Conv, default_call_conv: Call
         Conv::X86Intr => sess.fatal("x86-interrupt call conv not yet implemented"),
 
         Conv::ArmAapcs => sess.fatal("aapcs call conv not yet implemented"),
+        Conv::CCmseNonSecureCall => {
+            sess.fatal("C-cmse-nonsecure-call call conv is not yet implemented");
+        }
 
-        Conv::CCmseNonSecureCall
-        | Conv::Msp430Intr
+        Conv::Msp430Intr
         | Conv::PtxKernel
         | Conv::AmdGpuKernel
         | Conv::AvrInterrupt