add rust error message for CMSE stack spill

when the `C-cmse-nonsecure-call` ABI is used, arguments and return values must be passed via registers. Failing to do so (i.e. spilling to the stack) causes an LLVM error down the line, but now rustc will properly emit an error a bit earlier in the chain
This commit is contained in:
Folkert
2024-07-16 15:57:00 +02:00
parent d3dd34a1d4
commit 50ba821e12
7 changed files with 143 additions and 11 deletions

View File

@@ -536,6 +536,7 @@ E0794: 0794,
E0795: 0795,
E0796: 0796,
E0797: 0797,
E0798: 0798,
);
)
}