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

WIP: cargo: ensure cc crate is less than 1.0.84 #733

Closed
wants to merge 3 commits into from

Conversation

ahayzen-kdab
Copy link
Collaborator

No description provided.

@ahayzen-kdab ahayzen-kdab changed the title WIP: build.rs: add extra flag WIP: cargo: ensure cc crate is less than 1.0.84 Nov 14, 2023
Otherwise we have:
error: 'shared_mutex' is unavailable: introduced in macOS 10.12
error: 'path' is unavailable: introduced in macOS 10.15
# With macOS we need
# - std::filesystem::path from 10.15
# - std::shared_mutex from 10.12
MACOSX_DEPLOYMENT_TARGET: 10.15
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

wonder if we just always set this in CI

As the minimum version for rustc will be 10.12 but we need 10.15

https://blog.rust-lang.org/2023/09/25/Increasing-Apple-Version-Requirements.html

Copy link
Contributor

@Be-ing Be-ing Jan 30, 2024

Choose a reason for hiding this comment

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

Setting this on CI is fine, but it doesn't solve the problem of new versions of cc breaking the build when downstream users haven't set the environment variable. Fixed in #825

@ahayzen-kdab
Copy link
Collaborator Author

CI is now working again so this is not required.

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