about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2025-03-24 11:05:41 +0100
committerMads Marquart <mads@marquart.dk>2025-03-28 04:15:41 +0100
commita9cb15d793495b6b6318c7a60c42d12ddcf1609a (patch)
tree77a2ea1b337736e875e48857108f3e48a1a2c50a
parent9cf05b893d33a4a83a145396ed76e41ea1da97f2 (diff)
downloadrust-a9cb15d793495b6b6318c7a60c42d12ddcf1609a.tar.gz
rust-a9cb15d793495b6b6318c7a60c42d12ddcf1609a.zip
bootstrap: Fix CMAKE_OSX_ARCHITECTURES on all Apple platforms
-rw-r--r--src/bootstrap/src/core/build_steps/llvm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/llvm.rs b/src/bootstrap/src/core/build_steps/llvm.rs
index 0bc879c7d71..41d3ca2c4cd 100644
--- a/src/bootstrap/src/core/build_steps/llvm.rs
+++ b/src/bootstrap/src/core/build_steps/llvm.rs
@@ -696,7 +696,7 @@ fn configure_cmake(
         // CMakeFiles (and then only in tests), and so far no issues have been
         // reported, the system version is currently left unset.
 
-        if target.contains("darwin") {
+        if target.contains("apple") {
             // Make sure that CMake does not build universal binaries on macOS.
             // Explicitly specify the one single target architecture.
             if target.starts_with("aarch64") {