Skip to content

Commit 1ca9b41

Browse files
committed
Fixes from PR
- Hide Docs - Use repr_unpacked error Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
1 parent fd390b1 commit 1ca9b41

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

std/src/io/error.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#[cfg(test)]
22
mod tests;
33

4-
#[cfg(target_pointer_width = "64")]
4+
#[cfg(all(target_pointer_width = "64", not(target_os = "uefi")))]
55
mod repr_bitpacked;
6-
#[cfg(target_pointer_width = "64")]
6+
#[cfg(all(target_pointer_width = "64", not(target_os = "uefi")))]
77
use repr_bitpacked::Repr;
88

9-
#[cfg(not(target_pointer_width = "64"))]
9+
#[cfg(any(not(target_pointer_width = "64"), target_os = "uefi"))]
1010
mod repr_unpacked;
11-
#[cfg(not(target_pointer_width = "64"))]
11+
#[cfg(any(not(target_pointer_width = "64"), target_os = "uefi"))]
1212
use repr_unpacked::Repr;
1313

1414
use crate::error;

std/src/os/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pub mod solid;
142142
#[cfg(target_os = "tvos")]
143143
#[path = "ios/mod.rs"]
144144
pub(crate) mod tvos;
145-
#[cfg(any(target_os = "uefi", doc))]
145+
#[cfg(target_os = "uefi")]
146146
pub mod uefi;
147147
#[cfg(target_os = "vita")]
148148
pub mod vita;

0 commit comments

Comments
 (0)