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

Use platform independent IpAddr and SocketAddr #433

Merged

Conversation

niluxv
Copy link
Contributor

@niluxv niluxv commented Oct 24, 2022

Update src/net/ip.rs and src/net/addr.rs to use the new std code, making these structures platform independent.

Doesn't include the new Debug/Display formatting code for these structures, although that could be added now that it doesn't depend on std anymore.

@niluxv
Copy link
Contributor Author

niluxv commented Oct 24, 2022

It could very well be that I broke 1.48 compatibility (I wasn't able to test locally; wanted to check it by letting CI run), but the errors in the CI I see right now don't seem related to any changes in this PR.

@niluxv
Copy link
Contributor Author

niluxv commented Oct 24, 2022

CI failures are caused by this change in libc.

@niluxv
Copy link
Contributor Author

niluxv commented Oct 26, 2022

The libc issue has been reverted, so CI should work again. Any way to retrigger CI without making changes to the PR?

Update `src/net/ip.rs` and `src/net/addr.rs` to use the new std code,
making these structures platform independent.

Doesn't include the new Debug/Display formatting code for these
structures, although that could have been added now that it doesn't
depend on std anymore.
@niluxv
Copy link
Contributor Author

niluxv commented Nov 4, 2022

Rebased, and the CI seems to pass now. (I don't know why macos test was cancelled.)

@sunfishcode
Copy link
Member

It looks like it was a transient CI failure.

@sunfishcode sunfishcode merged commit 266101c into bytecodealliance:main Nov 7, 2022
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.

None yet

2 participants