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(stdlib): Remove fd_sync calls that are not used #846

Merged
merged 2 commits into from
Sep 2, 2021

Conversation

phated
Copy link
Member

@phated phated commented Sep 2, 2021

Between #800 being submitted and merged, we also landed some changes to the stdlib that changed the calling convention in non-GC contexts. This required adding some fd_sync imports for debugging and they didn't get removed, which caused the linker to fail on our wasi polyfill tests.

Here, I've added a better error message for this case and then removed the 2 references to fd_sync in our stdlib, so the tests should pass again.

@phated phated requested a review from a team September 2, 2021 18:37
Copy link
Member

@peblair peblair left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!

| None =>
failwith(
Printf.sprintf(
"Unable to locate `%s` in your polyfill. Required by `%s`",
Copy link
Member

Choose a reason for hiding this comment

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

👏

@phated phated merged commit 3d8f70c into main Sep 2, 2021
@phated phated deleted the phated/fix-linking-wasi-polyfill branch September 2, 2021 19:15
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