Skip to content

Add Send impl for BootInformation #114

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

Merged
merged 2 commits into from
Jun 19, 2022
Merged

Add Send impl for BootInformation #114

merged 2 commits into from
Jun 19, 2022

Conversation

chbaker0
Copy link
Contributor

BootInformation does not mutate the multiboot information it points to. Furthermore, by creating regular references to the contained data, it implicitly assumes it is not mutated elsewhere. With these assumptions in place it is safe to impl Send for BootInformation.

This PR adds the Send impl and clarifies safety contracts for clients.

@phip1611 phip1611 self-requested a review June 12, 2022 20:08
@phip1611
Copy link
Member

Looks good. will merge after you replied to my comment @chbaker0

@phip1611 phip1611 self-assigned this Jun 15, 2022
@chbaker0
Copy link
Contributor Author

Done!

@phip1611 phip1611 merged commit 58ba609 into rust-osdev:main Jun 19, 2022
@phip1611
Copy link
Member

Released as v0.13.3 on crates.io @chbaker0

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