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

Remove usage of emscripten's allocate function. #606

Merged
merged 6 commits into from
Mar 20, 2025

Conversation

sbc100
Copy link
Contributor

@sbc100 sbc100 commented Mar 17, 2025

This function is deprecated upstream.

See emscripten-core/emscripten#23926

@sbc100
Copy link
Contributor Author

sbc100 commented Mar 17, 2025

@lovasoa

Copy link
Member

@lovasoa lovasoa left a comment

Choose a reason for hiding this comment

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

Thank you very much!

This function is deprecated upstream.
@sbc100
Copy link
Contributor Author

sbc100 commented Mar 19, 2025

Ooops, made some fixes. Can you re-run the CI?

@lovasoa
Copy link
Member

lovasoa commented Mar 20, 2025

@sbc100 : is stringToNewUTF8 documented somewhere ? it does not seem to be in https://emscripten.org/docs/api_reference/preamble.js.html

Also, is there a replacement for the deprecated allocateUTF8OnStack ?

@lovasoa lovasoa merged commit ee67aeb into sql-js:master Mar 20, 2025
1 check passed
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.

2 participants