Commit 0613379
committed
fix(smol): enable code cache for brotli decompression support
Remove --without-node-code-cache flag from Node.js configure options to
enable decompression of brotli-encoded lib/ files at runtime. This is
required for:
- Decompressing Node.js internal lib/ files (including bootstrap)
- Supporting zlib/brotli operations needed by CLI (index.js decompression)
The code cache is essential for the smol binary to function correctly
since both the Node.js internals and the CLI rely on brotli decompression.
Fixes issue where smol binary outputs garbled/compressed code instead of
executing JavaScript properly.1 parent 73aa038 commit 0613379
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
1120 | 1122 | | |
1121 | 1123 | | |
1122 | 1124 | | |
| |||
0 commit comments