Repository navigation
Add generic musl arch headers. NFC. - #13280
Merged
Merged
Conversation
aheejin
reviewed
Jan 18, 2021
| @@ -0,0 +1,134 @@ | |||
| #define EPERM 1 | |||
Member
There was a problem hiding this comment.
It seems we have also errno.h in musl/arch/emscripten/bits? Do we not remove the emscripten version? The same for other added files, such as fcntl.h, fenv.h, shm.h, and termios.h.
Collaborator
Author
There was a problem hiding this comment.
No, the idea is that we have all the generic headers in arch/generic, and then we override just some of them with headers in arch/emscirpten. This is how the musl header layout works. At install time any emscripten-specific headers will overwrite the generic one.
This allows us to then remove some of our emscripten-specific arch headers that are not longer needed (since they do not differ from the generic version). This is part of making musl updates easier. See #7279
sbc100
force-pushed
the
generic_musl_headers
branch
from
January 18, 2021 17:44
cef31e3 to
87e5e2f
Compare
Collaborator
Author
|
I should have mentioned that the contents of the generic directory comes directly from musl with no changes. |
aheejin
approved these changes
Jan 19, 2021
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.
This allows us to then remove some of our emscripten-specific
arch headers that are no longer needed (since they do not
differ from the generic version).
This is part of making musl updates easier.
See #7279