mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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.
This commit is contained in:
parent
12cdea4525
commit
dc7e8b2fdc
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue