File tree Expand file tree Collapse file tree 7 files changed +4
-6
lines changed
r3_port_riscv/src/threading Expand file tree Collapse file tree 7 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
- nightly-2020-10-01
1
+ nightly-2020-11-25
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use core::marker::PhantomData;
7
7
/// Conditional type
8
8
macro_rules! If {
9
9
( 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
11
11
} ;
12
12
( if ( $cond: expr) { $t: ty } else if $( $rest: tt) * ) => {
13
13
If ! { if ( $cond) { $t } else { If !{ if $( $rest) * } } }
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ impl VectorTable {
30
30
}
31
31
}
32
32
33
- #[ naked]
34
33
#[ inline( always) ]
35
34
pub fn start < System : EntryPoint + StartupOptions > ( ) {
36
35
unsafe {
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ macro_rules! use_port {
61
61
unsafe { PORT_STATE . port_boot:: <Self >( ) } ;
62
62
}
63
63
64
- #[ naked]
65
64
#[ inline( always) ]
66
65
unsafe fn exception_handler( ) -> ! {
67
66
unsafe { State :: exception_handler:: <Self >( ) } ;
Original file line number Diff line number Diff line change @@ -1113,7 +1113,6 @@ impl State {
1113
1113
}
1114
1114
1115
1115
/// Implements [`crate::EntryPoint::exception_handler`].
1116
- #[ naked]
1117
1116
#[ inline( always) ]
1118
1117
pub unsafe fn exception_handler < System : PortInstance > ( ) -> ! {
1119
1118
const FRAME_SIZE : usize = if cfg ! ( target_feature = "f" ) {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ pub use r3::utils::Init;
10
10
/// Conditional type
11
11
macro_rules! If {
12
12
( 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
14
14
} ;
15
15
( if ( $cond: expr) { $t: ty } else if $( $rest: tt) * ) => {
16
16
If ! { if ( $cond) { $t } else { If !{ if $( $rest) * } } }
Original file line number Diff line number Diff line change 12
12
#![ feature( array_windows) ]
13
13
#![ feature( unsafe_block_in_unsafe_fn) ] // `unsafe fn` doesn't imply `unsafe {}`
14
14
#![ deny( unsafe_op_in_unsafe_fn) ]
15
+ #![ allow( clippy:: eq_op) ] // we want to test `PartialEq` implementations
15
16
#![ doc( include = "./lib.md" ) ]
16
17
#![ doc( include = "./common.md" ) ]
17
18
#![ no_std]
You can’t perform that action at this time.
0 commit comments