diff options
| author | Eric Joldasov <bratishkaerik@landless-city.net> | 2024-09-28 23:32:12 +0500 |
|---|---|---|
| committer | Eric Joldasov <bratishkaerik@landless-city.net> | 2025-01-20 14:29:04 +0500 |
| commit | a79e421e59ef4cc9883437551fdcfcef611d501c (patch) | |
| tree | 6a8c5d772e861d24d8bca2fdceac50cb7a73dc0a /src/codegen/llvm.zig | |
| parent | 5bbf3f55616cf4b021fecacd41b73bfea8ab953f (diff) | |
| download | zig-a79e421e59ef4cc9883437551fdcfcef611d501c.tar.gz zig-a79e421e59ef4cc9883437551fdcfcef611d501c.zip | |
std.zig.system: use both PATH and hardcoded locations to find `env`
Should help systems that have main `env` binary in different location
than hardcoded `/usr/bin/env` **during build** (not neccessarily always),
like Nix/Guix, Termux, Gentoo Prefix etc.
Related:
https://www.github.com/ziglang/zig/issues/12156
https://www.github.com/ziglang/zig/issues/14146
https://www.github.com/ziglang/zig/issues/14577
https://www.github.com/ziglang/zig/issues/15898
Source for logic: https://www.github.com/ziglang/zig/issues/14146#issuecomment-2308984936
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
