Skip to content

Commit 094fe7a

Browse files
committed
progress
1 parent ac8da8f commit 094fe7a

File tree

97 files changed

+1009
-150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1009
-150
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ compiled to WebAssembly.
77
- Create and manipulate values inside the QuickJS runtime ([more][values]).
88
- Expose host functions to the QuickJS runtime ([more][functions]).
99
- Execute synchronous code that uses asynchronous functions, with [asyncify][asyncify].
10-
- Supports browsers, NodeJS, Deno, Bun, Cloudflare Workers, QuickJS (QuickJS in QuickJS).
10+
- Supports browsers, NodeJS, Deno, Bun, Cloudflare Workers, QuickJS (via [quickjs-for-quickjs][]).
1111

1212
[Github] | [NPM] | [API Documentation][api] | [Variants][core] | [Examples][tests]
1313

@@ -44,6 +44,7 @@ main()
4444
[values]: #interfacing-with-the-interpreter
4545
[asyncify]: #asyncify
4646
[functions]: #exposing-apis
47+
[quickjs-for-quickjs]: https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-for-quickjs
4748

4849
- [quickjs-emscripten](#quickjs-emscripten)
4950
- [Usage](#usage)

doc/@jitl/quickjs-asmjs-mjs-release-sync/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ Variant-specific Emscripten build flags:
8080
"--pre-js $(TEMPLATES)/pre-extension.js",
8181
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
8282
"-s WASM=0",
83-
"-s SINGLE_FILE=1"
83+
"-s SINGLE_FILE=1",
84+
"-s STACK_SIZE=32MB"
8485
]
8586
```
8687

doc/@jitl/quickjs-ng-wasmfile-debug-asyncify/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Variant-specific Emscripten build flags:
101101
"--pre-js $(TEMPLATES)/pre-sourceMapJson.js",
102102
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
103103
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
104+
"-s 5MB",
104105
"-O3"
105106
]
106107
```

doc/@jitl/quickjs-ng-wasmfile-debug-sync/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Variant-specific Emscripten build flags:
9494
"--pre-js $(TEMPLATES)/pre-sourceMapJson.js",
9595
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
9696
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
97+
"-s 5MB",
9798
"-DQTS_SANITIZE_LEAK",
9899
"-fsanitize=leak",
99100
"-g2"

doc/@jitl/quickjs-ng-wasmfile-release-asyncify/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ Variant-specific Emscripten build flags:
9797
"--closure 1",
9898
"-s FILESYSTEM=0",
9999
"--pre-js $(TEMPLATES)/pre-extension.js",
100-
"--pre-js $(TEMPLATES)/pre-wasmMemory.js"
100+
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
101+
"-s 5MB"
101102
]
102103
```
103104

doc/@jitl/quickjs-ng-wasmfile-release-sync/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ Variant-specific Emscripten build flags:
9090
"--closure 1",
9191
"-s FILESYSTEM=0",
9292
"--pre-js $(TEMPLATES)/pre-extension.js",
93-
"--pre-js $(TEMPLATES)/pre-wasmMemory.js"
93+
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
94+
"-s 5MB"
9495
]
9596
```
9697

doc/@jitl/quickjs-singlefile-browser-debug-asyncify/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Variant-specific Emscripten build flags:
9090
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
9191
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
9292
"-s SINGLE_FILE=1",
93+
"-s 5MB",
9394
"-O3"
9495
]
9596
```

doc/@jitl/quickjs-singlefile-browser-debug-sync/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Variant-specific Emscripten build flags:
8383
"--pre-js $(TEMPLATES)/pre-wasmOffsetConverter.js",
8484
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
8585
"-s SINGLE_FILE=1",
86+
"-s 5MB",
8687
"-DQTS_SANITIZE_LEAK",
8788
"-fsanitize=leak",
8889
"-g2"

doc/@jitl/quickjs-singlefile-browser-release-asyncify/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ Variant-specific Emscripten build flags:
8686
"-s FILESYSTEM=0",
8787
"--pre-js $(TEMPLATES)/pre-extension.js",
8888
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
89-
"-s SINGLE_FILE=1"
89+
"-s SINGLE_FILE=1",
90+
"-s 5MB"
9091
]
9192
```
9293

doc/@jitl/quickjs-singlefile-browser-release-sync/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ Variant-specific Emscripten build flags:
7979
"-s FILESYSTEM=0",
8080
"--pre-js $(TEMPLATES)/pre-extension.js",
8181
"--pre-js $(TEMPLATES)/pre-wasmMemory.js",
82-
"-s SINGLE_FILE=1"
82+
"-s SINGLE_FILE=1",
83+
"-s 5MB"
8384
]
8485
```
8586

0 commit comments

Comments
 (0)