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

Fix compilation on Hermit #1802

Merged
merged 2 commits into from
Jun 14, 2024
Merged

Fix compilation on Hermit #1802

merged 2 commits into from
Jun 14, 2024

Conversation

Thomasdezeeuw
Copy link
Collaborator

For some reason the std::os::fd module is not available on Hermit. It seems like an oversight and I've opened rust-lang/rust#126198 to track a fix.

Was missing, but the code depends on it.
For some reason the `std::os::fd` module is not available on Hermit. It
seems like an oversight and I've opened
rust-lang/rust#126198 to track a fix.
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Should you create your own crate::os module to avoid duplicating this workaround everywhere?

@Thomasdezeeuw
Copy link
Collaborator Author

Should you create your own crate::os module to avoid duplicating this workaround everywhere?

A fix is already in the works: rust-lang/rust#126346, so maybe we can switch back soon-ish.

@Thomasdezeeuw Thomasdezeeuw merged commit 1b7bac9 into master Jun 14, 2024
31 checks passed
@Thomasdezeeuw Thomasdezeeuw deleted the fix-hermit branch June 14, 2024 08:52
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