mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
fix native path lookup on macOS
This commit is contained in:
@@ -763,6 +763,9 @@ pub const EnvVar = enum {
|
||||
// Windows SDK integration
|
||||
PROGRAMDATA,
|
||||
|
||||
// Homebrew integration
|
||||
HOMEBREW_PREFIX,
|
||||
|
||||
pub fn isSet(ev: EnvVar, map: *const std.process.Environ.Map) bool {
|
||||
return map.contains(@tagName(ev));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user