aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-04-04 14:05:49 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-04-04 14:05:49 -0400
commitdc7e8b2fdcc35bc78abfe2413201ca6a74aa20d4 (patch)
treefe0f72cfbe5c2421ac245277f405c6b5ac56ef9f /lib
parent12cdea452524e4b852cb433728c834a7b0203b67 (diff)
downloadzig-dc7e8b2fdcc35bc78abfe2413201ca6a74aa20d4.tar.gz
zig-dc7e8b2fdcc35bc78abfe2413201ca6a74aa20d4.zip
build.zig: better detection of using outside zig executable
As pointed out by gereeter, dirname("/") successfully returns "/" again. So checking for null is not sufficient.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions