Repository navigation
Explicit resource management support - #865
Closed
bnoordhuis wants to merge 2 commits into
Closed
bnoordhuis wants to merge 2 commits into
bnoordhuis wants to merge 2 commits into
Conversation
bnoordhuis
force-pushed
the
explicit-resource-management
branch
from
January 31, 2025 22:43
4341797 to
4c40418
Compare
Allows including test/staging/explicit-resource-management while still
excluding everything else from test/staging in test262.conf. Example:
[exclude]
test/staging/
!test/staging/explicit-resource-management/
bnoordhuis
force-pushed
the
explicit-resource-management
branch
from
February 6, 2025 21:15
4c40418 to
258a53a
Compare
saghul
added a commit
that referenced
this pull request
Apr 22, 2026
Co-authored-by: Ben Noordhuis <[email protected]> Closes: #865
saghul
added a commit
that referenced
this pull request
Apr 22, 2026
Co-authored-by: Ben Noordhuis <[email protected]> Closes: #865
saghul
added a commit
that referenced
this pull request
May 16, 2026
Co-authored-by: Ben Noordhuis <[email protected]> Closes: #865
pull Bot
pushed a commit
to jnnycn007/quickjs
that referenced
this pull request
May 16, 2026
Co-authored-by: Ben Noordhuis <[email protected]> Closes: quickjs-ng#865
richarddd
added a commit
to DelSkayn/rquickjs
that referenced
this pull request
May 19, 2026
quickjs-ng/quickjs#865 ("Implement explicit resource management") added new atoms — `using`, `error`, `suppressed`, `<using_dispose>`, `use`, `dispose`, `disposeAsync`, `DisposableStack`, `AsyncDisposableStack`, `SuppressedError`, `Symbol.dispose`, `Symbol.asyncDispose` — into the C `JS_ATOM_*` enum. New entries shifted the numeric values of existing atoms (`JS_ATOM_toString` moved from 56 to 59, etc.), so the previously committed bindings pointed every `PredefinedAtom` lookup at the wrong slot, surfacing as `a.toString is not a function` in the class-methods example and any other code that registered methods via PredefinedAtom. Regenerated bindings for all targets reachable from this host (native macOS + cargo-zigbuild for Linux/wasm). The two `*-pc-windows-msvc` targets remain stale here; the CI test matrix's update-bindings step regenerates them on Windows runners.
mochaaP
pushed a commit
to mcha-forks/quickjs
that referenced
this pull request
May 20, 2026
Co-authored-by: Ben Noordhuis <[email protected]> Closes: quickjs-ng#865 (cherry picked from commit 440883b)
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.
Refs: https://github.com/tc39/proposal-explicit-resource-management
Still very WIP. So far only parses the language constructs but hey, baby steps.