-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Apple
std::os
extensions modules into std::os::darwin
The functionality available on Apple platforms are very similar, and were duplicated for each platform. Additionally, this fixes a warning when compiling the standard library for tvOS, watchOS and visionOS by marking the corresponding code as dead code.
- Loading branch information
Showing
17 changed files
with
90 additions
and
809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//! Platform-specific extensions to `std` for Darwin / Apple platforms. | ||
//! | ||
//! This is available on the following operating systems: | ||
//! - macOS | ||
//! - iOS | ||
//! - tvOS | ||
//! - watchOS | ||
//! - visionOS | ||
//! | ||
//! Note: This module is called "Darwin" as that's the name of the underlying | ||
//! core OS of the above operating systems, but it should not be confused with | ||
//! the `-darwin` suffix in the `x86_64-apple-darwin` and | ||
//! `aarch64-apple-darwin` target names, which are mostly named that way for | ||
//! legacy reasons. | ||
pub(crate) mod fs; | ||
pub(crate) mod raw; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.