|
|
před 1 měsícem | |
|---|---|---|
| .. | ||
| .gitignore | před 3 roky | |
| README.md | před 2 roky | |
| tczipper.pp | před 1 měsícem | |
| tczstreamseek.pp | před 2 roky | |
| test.zip | před 4 roky | |
| testsingle.lpi | před 4 roky | |
| testsingle.pas | před 4 roky | |
The WebAssembly version of the tczipper test reads/writes temporary files in the current directory and in the TMP directory (this is the directory returned by gettempdir).
You must pre-open these directories so the wasm environment can write in it.
Using wasmtime this can be done as follows:
wasmtime --dir=. --dir=/tmp tczipper.wasm
Similarly the testsingle test needs the same 2 directories:
wasmtime --dir=. --dir=/tmp testsingle.wasm