Skip to content

runtime: fix SwapByteOrder.h when building for WASI #32201

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 1 commit into from
Jun 5, 2020

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Jun 5, 2020

<endian.h> is in the WASI SDK include root, so should use that as some other platforms do, instead of <machine/endian.h>.

Related to SR-9307.

CC @compnerd

`endian.h` in the WASI SDK include root, so should use that instead as some other platforms do.
Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

@swift-ci please test

@compnerd
Copy link
Member

compnerd commented Jun 5, 2020

@swift-ci please test

@CodaFi
Copy link
Contributor

CodaFi commented Jun 5, 2020

@CodaFi CodaFi merged commit 91be29a into swiftlang:master Jun 5, 2020
@MaxDesiatov MaxDesiatov deleted the patch-5 branch June 5, 2020 19:27
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.

3 participants