We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d3fbf70 + 3906e40 commit 560cb02Copy full SHA for 560cb02
crates/cli-support/src/js/mod.rs
@@ -1364,11 +1364,11 @@ impl<'a> Context<'a> {
1364
while (true) {{
1365
const view = getUint8Memory().subarray(ptr + writeOffset, ptr + size);
1366
const {{ read, written }} = cachedTextEncoder.encodeInto(arg, view);
1367
+ writeOffset += written;
1368
if (read === arg.length) {{
1369
break;
1370
}}
1371
arg = arg.substring(read);
- writeOffset += written;
1372
ptr = wasm.__wbindgen_realloc(ptr, size, size += arg.length * 3);
1373
1374
WASM_VECTOR_LEN = writeOffset;
0 commit comments