Update README.md

This commit is contained in:
Rich Geldreich
2026-02-13 19:55:32 -05:00
committed by GitHub
parent 90a568ba9b
commit 7a16ff8e8c

View File

@@ -161,7 +161,7 @@ chmod +x runwt.sh
./runwt.sh tough.ktx2
```
Unfortunately, WASM WASI executables have tradeoffs vs. native executables: Limited memory and slower performance. 32-bit WASM WASI memory constraints limit the maximum image/texture size that can be compressed to XUASTC LDR to around 4 megapixels. For web, we can support both WASM and WASM64, which relaxes the memory constraints. As far as we know as of 2/2026, the WASI SDK still [doesn't officially support the wasm64-wasi target](https://github.com/WebAssembly/wasi-sdk/issues/212), but once it does we'll support it.
Unfortunately, 32-bit WASM WASI executables have tradeoffs vs. native executables: Limited memory (serious issue), and slower performance (somewhat mitigatable using WASM threading, which we support). 32-bit WASM WASI memory constraints limit the maximum image/texture size that can be compressed to XUASTC LDR to around 4 megapixels. For web, we can support both WASM and WASM64, which relaxes the memory constraints. As far as we know as of 2/2026, the WASI SDK still [doesn't officially support the wasm64-wasi target](https://github.com/WebAssembly/wasi-sdk/issues/212), but once it does we'll support it.
----