File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11#[ cfg( test) ]
22mod tests;
33
4- #[ cfg( target_pointer_width = "64" ) ]
4+ #[ cfg( all ( target_pointer_width = "64" , not ( target_os = "uefi" ) ) ) ]
55mod repr_bitpacked;
6- #[ cfg( target_pointer_width = "64" ) ]
6+ #[ cfg( all ( target_pointer_width = "64" , not ( target_os = "uefi" ) ) ) ]
77use repr_bitpacked:: Repr ;
88
9- #[ cfg( not( target_pointer_width = "64" ) ) ]
9+ #[ cfg( any ( not( target_pointer_width = "64" ) , target_os = "uefi ") ) ]
1010mod repr_unpacked;
11- #[ cfg( not( target_pointer_width = "64" ) ) ]
11+ #[ cfg( any ( not( target_pointer_width = "64" ) , target_os = "uefi ") ) ]
1212use repr_unpacked:: Repr ;
1313
1414use crate :: error;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ pub mod solid;
142142#[ cfg( target_os = "tvos" ) ]
143143#[ path = "ios/mod.rs" ]
144144pub ( crate ) mod tvos;
145- #[ cfg( any ( target_os = "uefi" , doc ) ) ]
145+ #[ cfg( target_os = "uefi" ) ]
146146pub mod uefi;
147147#[ cfg( target_os = "vita" ) ]
148148pub mod vita;
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ const EXCEPTION_PATHS: &[&str] = &[
5656 "library/std/src/path.rs" ,
5757 "library/std/src/sys_common" , // Should only contain abstractions over platforms
5858 "library/std/src/net/test.rs" , // Utility helpers for tests
59+ "library/std/src/io/error.rs" , // Repr unpacked needed for UEFI
5960] ;
6061
6162pub fn check ( path : & Path , bad : & mut bool ) {
You can’t perform that action at this time.
0 commit comments