summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-03 22:25:11 +0000
committerbors <bors@rust-lang.org>2024-11-03 22:25:11 +0000
commit42188c3ca8ed84210c8cab6b1e2d553925e3dd2f (patch)
treeb4273f1b95938f43de44c522409e2ab7c32a6873 /compiler/rustc_codegen_llvm/src/lib.rs
parentb8c8287a229cd79604aa84c25e1235fc78cd5f2e (diff)
parent858d6d136a7943d79cacc0c24816e80d2a6ad67a (diff)
downloadrust-42188c3ca8ed84210c8cab6b1e2d553925e3dd2f.tar.gz
rust-42188c3ca8ed84210c8cab6b1e2d553925e3dd2f.zip
Auto merge of #123723 - madsmtm:apple-std-os, r=dtolnay
Make `std::os::darwin` public

I'm not sure of the reasoning behind them not being public before, but I think they should be, just like `std::os::ios` and `std::os::macos` are public.

Additionally, I've merged their source code, as it was otherwise just a bunch of unnecessary duplication.

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

Since you reviewed https://github.com/rust-lang/rust/pull/121419
r? davidtwco

Fixes https://github.com/rust-lang/rust/issues/121640.

`@rustbot` label O-tvos O-watchos O-visionos
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions