|
|
3 weken geleden | |
|---|---|---|
| .. | ||
| .gitignore | 3 jaren geleden | |
| README.md | 2 jaren geleden | |
| tczipper.pp | 3 weken geleden | |
| tczstreamseek.pp | 2 jaren geleden | |
| test.zip | 4 jaren geleden | |
| testsingle.lpi | 4 jaren geleden | |
| testsingle.pas | 4 jaren geleden | |
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