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 Binaryen glue string encoding #2129

Merged
merged 1 commit into from
Nov 11, 2021
Merged

Fix Binaryen glue string encoding #2129

merged 1 commit into from
Nov 11, 2021

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Nov 9, 2021

Fixes some old code inherited from Emscripten around the initial commit, that is not handling surrogates correctly. Did not surface so far because it is only used to call Binaryen APIs with constant names respectively identifiers coming from the parser. For now retains the assumption that WTF-8 is fine with Binaryen/C++ (const char*, std::string, ...).

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@dcodeIO dcodeIO requested a review from MaxGraey November 9, 2021 10:21
@dcodeIO
Copy link
Member Author

dcodeIO commented Nov 11, 2021

Merging this for now until more is known.

@dcodeIO dcodeIO merged commit 3b3fe60 into main Nov 11, 2021
@dcodeIO dcodeIO deleted the gluetf8 branch November 12, 2021 11:10
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