Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require PYO3_CROSS_LIB_DIR when compiling for x86_64 from macOS arm64 and reverse #1428

Merged
merged 1 commit into from
Feb 14, 2021

Conversation

messense
Copy link
Member

Big Sur nows ships universal2 binary for Python and Xcode, no need to use PYO3_CROSS_LIB_DIR when compiling for x86_64 from macOS arm64.

I think it's also the same when compiling for arm64 from x86-64 macOS but it would require checking Xcode version(at least 12.2? I'm not sure).

cc PyO3/maturin#405 (comment)

Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Couple of thoughts about this...

CHANGELOG.md Outdated Show resolved Hide resolved
build.rs Show resolved Hide resolved
@messense messense changed the title Don't require PYO3_CROSS_LIB_DIR when compiling for x86_64 from macOS arm64 Don't require PYO3_CROSS_LIB_DIR when compiling for x86_64 from macOS arm64 and reverse Feb 14, 2021
@davidhewitt
Copy link
Member

Thanks! Will get to the setuptools-rust PRs later this afternoon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants