File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "coverage_score" : 80.8 ,
2
+ "coverage_score" : 76.2 ,
3
3
"exclude_path" : " " ,
4
4
"crate_features" : " bzimage,elf" ,
5
5
"exclude_path" : " benches/,loader_gen/"
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ impl BootParams {
278
278
Self :: add_boot_parameter_to_list (
279
279
section,
280
280
section_addr,
281
- & mut self . sections . get_or_insert ( vec ! [ ] ) ,
281
+ self . sections . get_or_insert ( vec ! [ ] ) ,
282
282
& mut self . sections_start ,
283
283
)
284
284
}
@@ -387,7 +387,7 @@ impl BootParams {
387
387
Self :: add_boot_parameter_to_list (
388
388
module,
389
389
module_addr,
390
- & mut self . modules . get_or_insert ( vec ! [ ] ) ,
390
+ self . modules . get_or_insert ( vec ! [ ] ) ,
391
391
& mut self . modules_start ,
392
392
)
393
393
}
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ mod tests {
221
221
v
222
222
}
223
223
224
- #[ allow( safe_packed_borrows ) ]
224
+ #[ allow( unaligned_references ) ]
225
225
#[ allow( non_snake_case) ]
226
226
#[ test]
227
227
fn test_load_bzImage ( ) {
Original file line number Diff line number Diff line change 10
10
//! Bindgen autogenerated structs for boot parameters.
11
11
12
12
#![ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ]
13
+ // Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
14
+ #![ cfg_attr( test, allow( deref_nullptr, unaligned_references) ) ]
13
15
14
16
mod x86_64;
15
17
pub use x86_64:: * ;
You can’t perform that action at this time.
0 commit comments