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

BaseRevision should be repr(C) #26

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

adavis628
Copy link
Contributor

Currently, the rust compiler is allowed to rearrange the fields of BaseRevision. If it does so, it would break compatibility with the limine protocol. This PR makes it repr(C) to prevent this.

@lylythechosenone
Copy link
Collaborator

Oh, this is very, very bad! Sorry I missed it. Your code looks good, I'll merge it once the checks finish.

Thank you very much for noticing it and fixing it for us.

@lylythechosenone
Copy link
Collaborator

Uhh ok, none of the fails are your fault so I'll just merge. I'll make an issue for the clippy fails.

@lylythechosenone lylythechosenone merged commit 4fc6a03 into jasondyoungberg:master Apr 1, 2024
1 check failed
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