about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-19 20:03:56 +0200
committerGitHub <noreply@github.com>2024-07-19 20:03:56 +0200
commit3b20150b484689e1992d5af7f1df9503d982ecf8 (patch)
tree252bc88f988c5f97ee5f10ce5837a694dfa7f8fc /compiler/rustc_codegen_llvm/src/errors.rs
parent6ae6f8bb27c2c23baa52c07c7e1833c2ffa12517 (diff)
parentc2894a4297fd1e824e071fd21a92bfe475c0169a (diff)
downloadrust-3b20150b484689e1992d5af7f1df9503d982ecf8.tar.gz
rust-3b20150b484689e1992d5af7f1df9503d982ecf8.zip
Rollup merge of #127814 - folkertdev:c-cmse-nonsecure-call-error-messages, r=oli-obk
`C-cmse-nonsecure-call`: improved error messages

tracking issue: #81391
issue for the error messages (partially implemented by this PR): #81347
related, in that it also deals with CMSE: https://github.com/rust-lang/rust/pull/127766

When using the `C-cmse-nonsecure-call` ABI, both the arguments and return value must be passed via registers. Previously, when violating this constraint, an ugly LLVM error would be shown. Now, the rust compiler itself will print a pretty message and link to more information.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions