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

Update Rust version to build libc on Apple Silicon #20

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

thibault-ml
Copy link
Contributor

@thibault-ml thibault-ml commented Feb 8, 2024

Tries to address #19

The current version of Rust being used to build is 1.28, which is nearly 5 years old.

This leads to libc not compiling on macOS (Apple Silicon) in the tests.

This change updates Rust to 1.76.0, the latest version as of the writing of this ticket.

@thibault-ml thibault-ml marked this pull request as ready for review February 8, 2024 16:21
@thibault-ml thibault-ml changed the title #19: Update Rust version to build libc on macOS Update Rust version to build libc on macOS Feb 8, 2024
@jhpratt
Copy link
Owner

jhpratt commented Feb 10, 2024

1.28 is the MSRV. I have no issue bumping it, but it should be to the lowest version necessary to make things work as expected.

@thibault-ml
Copy link
Contributor Author

thibault-ml commented Feb 10, 2024

@jhpratt fair enough. I used cargo msrv to determine the MSRV, which is 1.54.0.

Updated the PR to use 1.54.0

@jhpratt
Copy link
Owner

jhpratt commented Feb 10, 2024

@Freaky Any objections?

@Freaky
Copy link
Collaborator

Freaky commented Feb 10, 2024

Nope. I'm particularly looking forward to our MSRV supporting MaybeUninit :)

@jhpratt
Copy link
Owner

jhpratt commented Feb 10, 2024

Merging in that case! I'll let you take charge on using MaybeUninit and whatnot. I trust your judgement 🙂

Oh, and the MSRV should be updated in docs.

@jhpratt jhpratt merged commit 857354c into jhpratt:main Feb 10, 2024
9 checks passed
@thibault-ml thibault-ml changed the title Update Rust version to build libc on macOS Update Rust version to build libc on Apple Silicon Feb 12, 2024
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.

3 participants