We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4653c93 commit ee1a905Copy full SHA for ee1a905
src/bootstrap/native.rs
@@ -600,6 +600,9 @@ fn configure_cmake(
600
if target.starts_with("aarch64") {
601
// macOS uses a different name for building arm64
602
cfg.define("CMAKE_OSX_ARCHITECTURES", "arm64");
603
+ } else if target.starts_with("i686") {
604
+ // macOS uses a different name for building i386
605
+ cfg.define("CMAKE_OSX_ARCHITECTURES", "i386");
606
} else {
607
cfg.define("CMAKE_OSX_ARCHITECTURES", target.triple.split('-').next().unwrap());
608
}
0 commit comments