Skip to content

Commit

Permalink
Auto merge of #125935 - madsmtm:merge-os-apple, r=workingjubilee
Browse files Browse the repository at this point in the history
Merge Apple `std::os` extensions modules into `std::os::darwin`

The functionality available on Apple platforms are very similar, and were (basically) duplicated for each platform.

This PR rectifies that by merging the code into one module.

Ultimately, I've done this to fix `./x build library --target=aarch64-apple-tvos,aarch64-apple-watchos,aarch64-apple-visionos`, as that currently fails because of dead code warnings.

Publically exposing these to tvOS/watchOS/visionOS targets is considered in rust-lang/rust#123723, but that seems to be dragging out, and in any case I think it makes sense to do the refactor separately from stabilization.

r? libs

Fixes rust-lang/rust#121640 and rust-lang/rust#124825.
  • Loading branch information
bors committed Jul 14, 2024
2 parents ab2d1fd + 119f7e4 commit 9695cdd
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 9695cdd

Please sign in to comment.