diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-06-06 22:46:10 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-06-25 00:52:09 -0700 |
| commit | 35deb5bce456439c8a1af31f6e30dc94fbf4060a (patch) | |
| tree | bdfc1ba09e0c2088c4e9417c8f00c1f9890e5195 /compiler/rustc_middle/src | |
| parent | a17780db7b8eebbf42a1cbe6bc9cc83013820ba5 (diff) | |
| download | rust-35deb5bce456439c8a1af31f6e30dc94fbf4060a.tar.gz rust-35deb5bce456439c8a1af31f6e30dc94fbf4060a.zip | |
compiler: Trim the misleading C from ExternAbi::CCmse*
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/ty/layout.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/ty/layout.rs b/compiler/rustc_middle/src/ty/layout.rs index 5cb943b0d8c..90b832df281 100644 --- a/compiler/rustc_middle/src/ty/layout.rs +++ b/compiler/rustc_middle/src/ty/layout.rs @@ -1248,13 +1248,13 @@ pub fn fn_can_unwind(tcx: TyCtxt<'_>, fn_def_id: Option<DefId>, abi: ExternAbi) | EfiApi | AvrInterrupt | AvrNonBlockingInterrupt + | CmseNonSecureCall + | CmseNonSecureEntry + | Custom | RiscvInterruptM | RiscvInterruptS - | CCmseNonSecureCall - | CCmseNonSecureEntry - | Custom - | Unadjusted - | RustInvalid => false, + | RustInvalid + | Unadjusted => false, Rust | RustCall | RustCold => tcx.sess.panic_strategy() == PanicStrategy::Unwind, } } |
