diff options
| author | Jubilee <workingjubilee@gmail.com> | 2025-06-24 19:45:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 19:45:31 -0700 |
| commit | 891dc0fb0972c93d0f9b88520ed19d65427d80c8 (patch) | |
| tree | b3bb23870b33b0656cc57937bb6386ec968d295d /compiler/rustc_interface/src | |
| parent | d46903b2b65ec6ec53cb4d0cbe185ac9e35c93b5 (diff) | |
| parent | 943d37958b377d4500345898cdb86d87da28d2e5 (diff) | |
| download | rust-891dc0fb0972c93d0f9b88520ed19d65427d80c8.tar.gz rust-891dc0fb0972c93d0f9b88520ed19d65427d80c8.zip | |
Rollup merge of #142633 - folkertdev:interrupt-abi-restrict-signature, r=workingjubilee
Error on invalid signatures for interrupt ABIs We recently added `extern "custom"`, which must have type `fn()`. The various `extern "interrupt"` ABIs impose similar constraints on the signature of functions with that ABI: `x86-interrupt` should not have a return type (linting on the exact argument types is left as future work), and the other interrupt ABIs cannot have any parameters or a return type. r? ```@workingjubilee```
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
