Skip to content

Commit dbbbaa1

Browse files
committed
Merge branch '⬆️-nightly-2020-11-25' into 🦆
2 parents 41a3ae5 + 32d5fdc commit dbbbaa1

File tree

7 files changed

+4
-6
lines changed

7 files changed

+4
-6
lines changed

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2020-10-01
1+
nightly-2020-11-25

src/r3/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use core::marker::PhantomData;
77
/// Conditional type
88
macro_rules! If {
99
( if ($cond:expr) { $t:ty } else { $f:ty } ) => {
10-
<crate::utils::Conditional<$t, $f, $cond> as crate::utils::TypeFn>::Output
10+
<crate::utils::Conditional<$t, $f, {$cond}> as crate::utils::TypeFn>::Output
1111
};
1212
( if ($cond:expr) { $t:ty } else if $($rest:tt)* ) => {
1313
If! { if ($cond) { $t } else { If!{ if $($rest)* } } }

src/r3_port_arm/src/startup/imp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ impl VectorTable {
3030
}
3131
}
3232

33-
#[naked]
3433
#[inline(always)]
3534
pub fn start<System: EntryPoint + StartupOptions>() {
3635
unsafe {

src/r3_port_riscv/src/threading/cfg.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ macro_rules! use_port {
6161
unsafe { PORT_STATE.port_boot::<Self>() };
6262
}
6363

64-
#[naked]
6564
#[inline(always)]
6665
unsafe fn exception_handler() -> ! {
6766
unsafe { State::exception_handler::<Self>() };

src/r3_port_riscv/src/threading/imp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,6 @@ impl State {
11131113
}
11141114

11151115
/// Implements [`crate::EntryPoint::exception_handler`].
1116-
#[naked]
11171116
#[inline(always)]
11181117
pub unsafe fn exception_handler<System: PortInstance>() -> ! {
11191118
const FRAME_SIZE: usize = if cfg!(target_feature = "f") {

src/r3_portkit/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub use r3::utils::Init;
1010
/// Conditional type
1111
macro_rules! If {
1212
( if ($cond:expr) { $t:ty } else { $f:ty } ) => {
13-
<crate::utils::Conditional<$t, $f, $cond> as crate::utils::TypeFn>::Output
13+
<crate::utils::Conditional<$t, $f, {$cond}> as crate::utils::TypeFn>::Output
1414
};
1515
( if ($cond:expr) { $t:ty } else if $($rest:tt)* ) => {
1616
If! { if ($cond) { $t } else { If!{ if $($rest)* } } }

src/r3_test_suite/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![feature(array_windows)]
1313
#![feature(unsafe_block_in_unsafe_fn)] // `unsafe fn` doesn't imply `unsafe {}`
1414
#![deny(unsafe_op_in_unsafe_fn)]
15+
#![allow(clippy::eq_op)] // we want to test `PartialEq` implementations
1516
#![doc(include = "./lib.md")]
1617
#![doc(include = "./common.md")]
1718
#![no_std]

0 commit comments

Comments
 (0)