]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast_passes/src/feature_gate.rs
Add a new ABI to support cmse_nonsecure_call
[rust.git] / compiler / rustc_ast_passes / src / feature_gate.rs
index 7bd805f91c8575ee0f629cedddfde4a8ac928100..62d0721c35fb1edd9f94ab33cbda8ac1d57c8185 100644 (file)
@@ -156,6 +156,14 @@ fn check_abi(&self, abi: ast::StrLit) {
                     "efiapi ABI is experimental and subject to change"
                 );
             }
+            "C-cmse-nonsecure-call" => {
+                gate_feature_post!(
+                    &self,
+                    abi_c_cmse_nonsecure_call,
+                    span,
+                    "C-cmse-nonsecure-call ABI is experimental and subject to change"
+                );
+            }
             abi => self
                 .sess
                 .parse_sess