Add minimal support for Hermit OS - #1672
Draft
xtqqczze wants to merge 9 commits into
Draft
Conversation
xtqqczze
marked this pull request as ready for review
September 3, 2026 18:00
xtqqczze
force-pushed
the
hermit
branch
2 times, most recently
from
September 4, 2026 00:12
67b7cfe to
3ab8d44
Compare
xtqqczze
marked this pull request as draft
September 5, 2026 22:14
xtqqczze
force-pushed
the
hermit
branch
2 times, most recently
from
September 6, 2026 12:50
ea4ff35 to
d8f0955
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
The `SYSPROTO_EVENT` and `SYSPROTO_CONTROL` constants are only available on macOS, see rust-lang/libc#5158.
The `AF_SYS_CONTROL` constant is only available on macOS, see rust-lang/libc#5158.
tvOS and watchOS do not provide `fork`, so the `utimensat` fallback cannot be implemented on these platforms. Return `NOSYS` instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contributes to #1012.
The changes allow compilation with the following configurations:
--no-default-features--features defaultusing the
x86_64-unknown-hermittarget and-Zbuild-std=std,core,alloc,panic_abort.Depends on #1674.
Depends on #1673.
Depends on #1676.
Blocked on rust-lang/libc#5460 for
no_stdsupport.