Michaël Van Canneyt 9aab3305e5 * PChar -> PAnsiChar 2 سال پیش
..
.gitignore ddfe51415b * Ignore output programs 3 سال پیش
README.md 1f981116f6 * Some explanations for running tests under wasmtime 2 سال پیش
tczipper.pp 9aab3305e5 * PChar -> PAnsiChar 2 سال پیش
tczstreamseek.pp 87cc2593a7 * Progress and exit status display 2 سال پیش
test.zip 42361be239 * Add additional parameters to Unzip calls. Fix issue 39530 3 سال پیش
testsingle.lpi 42361be239 * Add additional parameters to Unzip calls. Fix issue 39530 3 سال پیش
testsingle.pas 42361be239 * Add additional parameters to Unzip calls. Fix issue 39530 3 سال پیش

README.md

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