File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
#[ cfg( test) ]
2
2
mod tests;
3
3
4
- #[ cfg( target_pointer_width = "64" ) ]
4
+ #[ cfg( all ( target_pointer_width = "64" , not ( target_os = "uefi" ) ) ) ]
5
5
mod repr_bitpacked;
6
- #[ cfg( target_pointer_width = "64" ) ]
6
+ #[ cfg( all ( target_pointer_width = "64" , not ( target_os = "uefi" ) ) ) ]
7
7
use repr_bitpacked:: Repr ;
8
8
9
- #[ cfg( not( target_pointer_width = "64" ) ) ]
9
+ #[ cfg( any ( not( target_pointer_width = "64" ) , target_os = "uefi ") ) ]
10
10
mod repr_unpacked;
11
- #[ cfg( not( target_pointer_width = "64" ) ) ]
11
+ #[ cfg( any ( not( target_pointer_width = "64" ) , target_os = "uefi ") ) ]
12
12
use repr_unpacked:: Repr ;
13
13
14
14
use crate :: error;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ pub mod solid;
142
142
#[ cfg( target_os = "tvos" ) ]
143
143
#[ path = "ios/mod.rs" ]
144
144
pub ( crate ) mod tvos;
145
- #[ cfg( any ( target_os = "uefi" , doc ) ) ]
145
+ #[ cfg( target_os = "uefi" ) ]
146
146
pub mod uefi;
147
147
#[ cfg( target_os = "vita" ) ]
148
148
pub mod vita;
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ const EXCEPTION_PATHS: &[&str] = &[
56
56
"library/std/src/path.rs" ,
57
57
"library/std/src/sys_common" , // Should only contain abstractions over platforms
58
58
"library/std/src/net/test.rs" , // Utility helpers for tests
59
+ "library/std/src/io/error.rs" , // Repr unpacked needed for UEFI
59
60
] ;
60
61
61
62
pub fn check ( path : & Path , bad : & mut bool ) {
You can’t perform that action at this time.
0 commit comments