Skip to content

chore(deps): temporary fork-pin github.com/fastschema/qjs - #13

Merged
paulmanoni merged 1 commit into
mainfrom
chore/qjs-fork-pin
May 29, 2026
Merged

chore(deps): temporary fork-pin github.com/fastschema/qjs#13
paulmanoni merged 1 commit into
mainfrom
chore/qjs-fork-pin

Conversation

@paulmanoni

Copy link
Copy Markdown
Owner

Point qjs at paulmanoni/qjs (fix/wasm-stack-size-deep-recursion) via a replace directive. The fork raises the wasm C stack so QuickJS's recursive parser no longer traps on deep expressions — upstream qjs v0.0.6 traps with "out of bounds memory access" while compiling ordinary SFC <script setup> code.

With this pin the CGo-free vue_qjs backend compiles a real 128-SFC app 128/128 (was 10 failures). Pure Go, no MaxStackSize needed.

TEMPORARY: drop this replace and bump to a released version once the upstream fix lands (fastschema/qjs#48). Does not affect default builds — the qjs backend only compiles under -tags vue_qjs.

Point qjs at paulmanoni/qjs (fix/wasm-stack-size-deep-recursion) via a
replace directive. The fork raises the wasm C stack so QuickJS's
recursive parser no longer traps on deep expressions — upstream qjs
v0.0.6 traps with "out of bounds memory access" while compiling ordinary
SFC <script setup> code.

With this pin the CGo-free vue_qjs backend compiles a real 128-SFC app
128/128 (was 10 failures). Pure Go, no MaxStackSize needed.

TEMPORARY: drop this replace and bump to a released version once the
upstream fix lands (fastschema/qjs#48). Does not affect default builds —
the qjs backend only compiles under -tags vue_qjs.
@paulmanoni
paulmanoni merged commit b214b21 into main May 29, 2026
2 checks passed
paulmanoni added a commit that referenced this pull request Jun 1, 2026
chore(deps): temporary fork-pin github.com/fastschema/qjs
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