Skip to content

Fix macos and ios builds#26

Open
Eclips4 wants to merge 5 commits intoRust-for-CPython:3.15-rust-in-cpythonfrom
Eclips4:fix-macos-and-ios-builds
Open

Fix macos and ios builds#26
Eclips4 wants to merge 5 commits intoRust-for-CPython:3.15-rust-in-cpythonfrom
Eclips4:fix-macos-and-ios-builds

Conversation

@Eclips4
Copy link
Member

@Eclips4 Eclips4 commented Mar 10, 2026

No description provided.

@Eclips4 Eclips4 requested a review from emmatyping as a code owner March 10, 2026 18:20
@Eclips4 Eclips4 marked this pull request as draft March 10, 2026 18:20
@Eclips4 Eclips4 force-pushed the fix-macos-and-ios-builds branch from 001b626 to e91d729 Compare March 10, 2026 18:45

// For iOS targets, bindgen may parse headers with an iOS simulator/device
// target but without a deployment minimum, which disables TLS support.
let deployment_target = ios_deployment_target(builddir).unwrap_or_else(|| "13.0".to_string());
Copy link
Member Author

@Eclips4 Eclips4 Mar 10, 2026

Choose a reason for hiding this comment

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

the default value here is the current target (IPHONEOS_DEPLOYMENT_TARGET)

@Eclips4 Eclips4 marked this pull request as ready for review March 10, 2026 21:02
Copy link

@emmatyping emmatyping left a comment

Choose a reason for hiding this comment

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

This is great, not only fixing iOS and macOS but also improves the code. Thank you so much!

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