From edc344e8e992c30aa8274db986ced3659147b1a1 Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Tue, 3 Mar 2020 21:05:17 +1300 Subject: [PATCH] [AVR] Raise and link to a tracking issue for the `avr-interrupt` calling convention Also fix the order of the feature gate to fix the tidy errors. --- src/librustc_feature/active.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/librustc_feature/active.rs b/src/librustc_feature/active.rs index fc64727ad627..b4935236b6a9 100644 --- a/src/librustc_feature/active.rs +++ b/src/librustc_feature/active.rs @@ -347,9 +347,6 @@ pub fn set(&self, features: &mut Features, span: Span) { /// Allows `extern "msp430-interrupt" fn()`. (active, abi_msp430_interrupt, "1.16.0", Some(38487), None), - /// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`. - (active, abi_avr_interrupt, "1.41.0", None, None), - /// Allows declarative macros 2.0 (`macro`). (active, decl_macro, "1.17.0", Some(39412), None), @@ -577,6 +574,9 @@ pub fn set(&self, features: &mut Features, span: Span) { /// No longer treat an unsafe function as an unsafe block. (active, unsafe_block_in_unsafe_fn, "1.45.0", Some(71668), None), + /// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`. + (active, abi_avr_interrupt, "1.45.0", Some(69664), None), + // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // -------------------------------------------------------------------------