File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ version = "0.1.0"
13
13
[workspace .package ]
14
14
# This must be kept in sync with rust-toolchain.toml; please see that file for
15
15
# more information.
16
- rust-version = " 1.84 "
16
+ rust-version = " 1.87 "
17
17
18
18
[features ]
19
19
rust_embedded = [
Original file line number Diff line number Diff line change 1
1
# This is the nightly Rust toolchain used by `make test`.
2
2
[toolchain ]
3
- channel = " nightly-2024-11-11 "
3
+ channel = " nightly-2025-05-19 "
4
4
components = [" miri" , " rust-src" ]
Original file line number Diff line number Diff line change 5
5
# you'd like to use. When you do so, update this to the first Rust version that
6
6
# includes that feature. Whenever this value is updated, the rust-version field
7
7
# in Cargo.toml must be updated as well.
8
- channel = " 1.84 "
8
+ channel = " 1.87 "
9
9
components = [" clippy" , " rustfmt" ]
10
10
targets = [
11
11
" thumbv6m-none-eabi" ,
Original file line number Diff line number Diff line change @@ -174,7 +174,10 @@ mod tests {
174
174
subscribe_num: 2
175
175
}
176
176
) ;
177
- assert ! ( upcall_queue_entry. upcall. fn_pointer == Some ( upcall_ptr) ) ;
177
+ assert ! (
178
+ upcall_queue_entry. upcall. fn_pointer. map( |f| f as * const ( ) )
179
+ == Some ( upcall_ptr as * const _)
180
+ ) ;
178
181
let data: usize = upcall_queue_entry. upcall . data . into ( ) ;
179
182
assert_eq ! ( data, 1111 ) ;
180
183
@@ -207,7 +210,10 @@ mod tests {
207
210
subscribe_num: 2
208
211
}
209
212
) ;
210
- assert ! ( front_queue_entry. upcall. fn_pointer == Some ( upcall_ptr) ) ;
213
+ assert ! (
214
+ front_queue_entry. upcall. fn_pointer. map( |f| f as * const ( ) )
215
+ == Some ( upcall_ptr as * const _)
216
+ ) ;
211
217
let front_data: usize = front_queue_entry. upcall . data . into ( ) ;
212
218
assert_eq ! ( front_data, 1111 ) ;
213
219
let back_queue_entry = kernel_data. upcall_queue . back ( ) . expect ( "Upcall not queued" ) ;
@@ -219,7 +225,10 @@ mod tests {
219
225
subscribe_num: 2
220
226
}
221
227
) ;
222
- assert ! ( back_queue_entry. upcall. fn_pointer == Some ( upcall_ptr) ) ;
228
+ assert ! (
229
+ back_queue_entry. upcall. fn_pointer. map( |f| f as * const ( ) )
230
+ == Some ( upcall_ptr as * const _)
231
+ ) ;
223
232
let back_data: usize = back_queue_entry. upcall . data . into ( ) ;
224
233
assert_eq ! ( back_data, 2222 ) ;
225
234
} ) ;
You can’t perform that action at this time.
0 commit comments