aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm-ar.cpp
diff options
context:
space:
mode:
authorAdrian Cole <adrian@tetrate.io>2023-01-19 13:50:23 +0800
committerVeikka Tuominen <git@vexu.eu>2023-01-19 15:34:38 +0200
commit7208e1ff8715856f4ec7b5148450d160442d5a6e (patch)
tree83a91978fa8c912be81c1a53715e88b2b34005c6 /src/zig_llvm-ar.cpp
parentc70a3d9022b4cb3e848a5f092a5eab7f7217cca0 (diff)
downloadzig-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/zig_llvm-ar.cpp')
0 files changed, 0 insertions, 0 deletions