diff options
Diffstat (limited to 'embassy-nxp')
| -rw-r--r-- | embassy-nxp/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-nxp/src/lib.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/embassy-nxp/Cargo.toml b/embassy-nxp/Cargo.toml index f3c828313..33f0f2dff 100644 --- a/embassy-nxp/Cargo.toml +++ b/embassy-nxp/Cargo.toml | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "embassy-nxp" | 2 | name = "embassy-nxp" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | edition = "2021" | 4 | edition = "2024" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | 6 | ||
| 7 | publish = false | 7 | publish = false |
diff --git a/embassy-nxp/src/lib.rs b/embassy-nxp/src/lib.rs index f0f0afb6c..617045217 100644 --- a/embassy-nxp/src/lib.rs +++ b/embassy-nxp/src/lib.rs | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![allow(unsafe_op_in_unsafe_fn)] | ||
| 2 | 3 | ||
| 3 | // This mod MUST go first, so that the others see its macros. | 4 | // This mod MUST go first, so that the others see its macros. |
| 4 | pub(crate) mod fmt; | 5 | pub(crate) mod fmt; |
| @@ -67,7 +68,7 @@ macro_rules! bind_interrupts { | |||
| 67 | 68 | ||
| 68 | $( | 69 | $( |
| 69 | #[allow(non_snake_case)] | 70 | #[allow(non_snake_case)] |
| 70 | #[no_mangle] | 71 | #[unsafe(no_mangle)] |
| 71 | $(#[cfg($cond_irq)])? | 72 | $(#[cfg($cond_irq)])? |
| 72 | unsafe extern "C" fn $irq() { | 73 | unsafe extern "C" fn $irq() { |
| 73 | unsafe { | 74 | unsafe { |
