We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a270e40 + ee1a905 commit 0e25271Copy full SHA for 0e25271
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