Skip to content

Commit

Permalink
Merge pull request #1613 from MisLink/main
Browse files Browse the repository at this point in the history
Fix cross-compile to Apple universal2 in the other platform
  • Loading branch information
messense committed May 17, 2023
2 parents 3920405 + 075bed8 commit 7237fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn compile(
python_interpreter: Option<&PythonInterpreter>,
targets: &[CompileTarget],
) -> Result<Vec<HashMap<String, BuildArtifact>>> {
if context.target.is_macos() && context.universal2 {
if context.universal2 {
compile_universal2(context, python_interpreter, targets)
} else {
compile_targets(context, python_interpreter, targets)
Expand Down

0 comments on commit 7237fac

Please sign in to comment.