about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-04 08:02:05 +0200
committerGitHub <noreply@github.com>2025-04-04 08:02:05 +0200
commit66e61c78e7496def7a7083894af87877a2af1da9 (patch)
tree1c2247bd21e2b5528bcc8c4590a048ec39458ba3 /compiler/rustc_driver_impl
parent9e14530c7c27123484658c88c2148a552b01e73b (diff)
parent328846c6eb650580f93addb687a8f5fd863bd892 (diff)
downloadrust-66e61c78e7496def7a7083894af87877a2af1da9.tar.gz
rust-66e61c78e7496def7a7083894af87877a2af1da9.zip
Rollup merge of #138949 - madsmtm:rename-to-darwin, r=WaffleLapkin
Rename `is_like_osx` to `is_like_darwin`

Replace `is_like_osx` with `is_like_darwin`, which more closely describes reality (OS X is the pre-2016 name for macOS, and is by now quite outdated; Darwin is the overall name for the OS underlying Apple's macOS, iOS, etc.).

``@rustbot`` label O-apple
r? compiler
Diffstat (limited to 'compiler/rustc_driver_impl')
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs
index a64ffe5da8e..21b9542d0e1 100644
--- a/compiler/rustc_driver_impl/src/lib.rs
+++ b/compiler/rustc_driver_impl/src/lib.rs
@@ -807,7 +807,7 @@ fn print_crate_info(
                 }
             }
             DeploymentTarget => {
-                if sess.target.is_like_osx {
+                if sess.target.is_like_darwin {
                     println_info!(
                         "{}={}",
                         apple::deployment_target_env_var(&sess.target.os),