diff options
| author | Adrian Cole <adrian@tetrate.io> | 2023-01-19 13:50:23 +0800 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-01-19 15:34:38 +0200 |
| commit | 7208e1ff8715856f4ec7b5148450d160442d5a6e (patch) | |
| tree | 83a91978fa8c912be81c1a53715e88b2b34005c6 /src/ThreadPool.zig | |
| parent | c70a3d9022b4cb3e848a5f092a5eab7f7217cca0 (diff) | |
| download | zig-7208e1ff8715856f4ec7b5148450d160442d5a6e.tar.gz zig-7208e1ff8715856f4ec7b5148450d160442d5a6e.zip | |
wasm: avoids allocating zero length buffers for args or env
I was testing this with wazero, which defaults to not propagate any env
variables. This ensures we don't try to allocate zero length buffers
when there are no results from either function.
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Diffstat (limited to 'src/ThreadPool.zig')
0 files changed, 0 insertions, 0 deletions
