Skip to content

Commit

Permalink
Make std::os::tvos, std::os::visionos and std::os::watchos public
Browse files Browse the repository at this point in the history
This is mostly done to fix dead code warnings, but also because they _should_ be public, just like `std::os::ios` and `std::os::macos` is.
  • Loading branch information
madsmtm committed Apr 10, 2024
1 parent 288e3ba commit 5fdfc01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/std/src/os/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,19 +148,19 @@ pub mod solaris;
pub mod solid;
#[cfg(target_os = "tvos")]
#[path = "apple/mod.rs"]
pub(crate) mod tvos;
pub mod tvos;
#[cfg(target_os = "uefi")]
pub mod uefi;
#[cfg(target_os = "visionos")]
#[path = "apple/mod.rs"]
pub(crate) mod visionos;
pub mod visionos;
#[cfg(target_os = "vita")]
pub mod vita;
#[cfg(target_os = "vxworks")]
pub mod vxworks;
#[cfg(target_os = "watchos")]
#[path = "apple/mod.rs"]
pub(crate) mod watchos;
pub mod watchos;
#[cfg(target_os = "xous")]
pub mod xous;

Expand Down

0 comments on commit 5fdfc01

Please sign in to comment.