Repository navigation
Export all API symbols in the QJS_WASI_REACTOR build - #1804
Merged
Merged
Conversation
Contributor
|
Maybe add a check to the |
paralin
added a commit
to aperturerobotics/go-quickjs-wasi-reactor
that referenced
this pull request
Oct 14, 2026
QuickJS-NG v0.15.1 returned negative inputs to BigInt.asUintN unchanged, so BigInt.asUintN(64, -1n) was -1n. Code that wraps 64-bit unsigned arithmetic with it computed wrong values. v0.17.0 fixes the short BigInt fast path; the BigInt test now checks the wrapping. v0.16 and later give the C API default visibility only when BUILDING_QJS_SHARED is set, so the reactor target exported almost none of it. Define that macro in the build until quickjs-ng/quickjs#1804 moves it into the reactor target. Signed-off-by: Christian Stewart <[email protected]>
Contributor
Author
Sorry, I missed the email notification for this. I just now added that. |
saghul
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#1525 had the (unintended?) side effect of changing the WASI REACTOR build from exporting the full API (~300 symbols) in 0.15.1 to only ~10 symbols in 0.16 and later.
This PR restores the full export list for QJS_WASI_REACTOR.