|
|
hai 1 mes | |
|---|---|---|
| .. | ||
| .gitignore | %!s(int64=3) %!d(string=hai) anos | |
| README.md | %!s(int64=2) %!d(string=hai) anos | |
| tczipper.pp | hai 1 mes | |
| tczstreamseek.pp | %!s(int64=2) %!d(string=hai) anos | |
| test.zip | %!s(int64=4) %!d(string=hai) anos | |
| testsingle.lpi | %!s(int64=4) %!d(string=hai) anos | |
| testsingle.pas | %!s(int64=4) %!d(string=hai) anos | |
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