Fixes from PR
- Hide Docs - Use repr_unpacked error Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
This commit is contained in:
parent
c7e5f3ca08
commit
984ecefed8
@ -1,14 +1,14 @@
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
#[cfg(all(target_pointer_width = "64", not(target_os = "uefi")))]
|
||||
mod repr_bitpacked;
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
#[cfg(all(target_pointer_width = "64", not(target_os = "uefi")))]
|
||||
use repr_bitpacked::Repr;
|
||||
|
||||
#[cfg(not(target_pointer_width = "64"))]
|
||||
#[cfg(any(not(target_pointer_width = "64"), target_os = "uefi"))]
|
||||
mod repr_unpacked;
|
||||
#[cfg(not(target_pointer_width = "64"))]
|
||||
#[cfg(any(not(target_pointer_width = "64"), target_os = "uefi"))]
|
||||
use repr_unpacked::Repr;
|
||||
|
||||
use crate::error;
|
||||
|
@ -142,7 +142,7 @@ pub mod windows {}
|
||||
#[cfg(target_os = "tvos")]
|
||||
#[path = "ios/mod.rs"]
|
||||
pub(crate) mod tvos;
|
||||
#[cfg(any(target_os = "uefi", doc))]
|
||||
#[cfg(target_os = "uefi")]
|
||||
pub mod uefi;
|
||||
#[cfg(target_os = "vita")]
|
||||
pub mod vita;
|
||||
|
@ -56,6 +56,7 @@
|
||||
"library/std/src/path.rs",
|
||||
"library/std/src/sys_common", // Should only contain abstractions over platforms
|
||||
"library/std/src/net/test.rs", // Utility helpers for tests
|
||||
"library/std/src/io/error.rs", // Repr unpacked needed for UEFI
|
||||
];
|
||||
|
||||
pub fn check(path: &Path, bad: &mut bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user