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

Override clock_res_get function from wasmer/wasi-js to fix memory issue #323

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

fjtrujy
Copy link
Contributor

@fjtrujy fjtrujy commented Apr 27, 2022

This PRs just basically apply the same patch that was done in the WasmTransformer repo. https://github.com/swiftwasm/WasmTransformer/blob/main/Fixtures/index.js#L4-L27

It is overriding the implementation of clock_res_get in order to solve a memory issue.
It is applied to all the entry points that carton has.

This PR should closes #321 .

Thanks

@kateinoigakukun kateinoigakukun added the bug Something isn't working label Apr 27, 2022
Copy link
Collaborator

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Thanks!

@MaxDesiatov MaxDesiatov merged commit 04cce44 into swiftwasm:main Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply clock_res_get patch in all entrypoints
3 participants