aboutsummaryrefslogtreecommitdiff
path: root/src/introspect.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2023-10-18 18:00:50 -0700
committerRyan Liptak <squeek502@hotmail.com>2023-10-18 18:30:32 -0700
commit81a61c8ecd7a970dc96a6068cf8587fd81ebd6e4 (patch)
tree5f01df7d4b47a48bd25e505457a4fd0cf51d41b6 /src/introspect.zig
parent32bc077672cc3d7c468b4531c52d160ee12fb89f (diff)
downloadzig-81a61c8ecd7a970dc96a6068cf8587fd81ebd6e4.tar.gz
zig-81a61c8ecd7a970dc96a6068cf8587fd81ebd6e4.zip
Sync resinator with upstream and fix INCLUDE env var handling
The INCLUDE variable being used during `.rc` preprocessing was an accidental regression in https://github.com/ziglang/zig/pull/17412. Closes #17585. resinator changes: source_mapping: Protect against NUL bytes in #line filenames lex: Avoid recalculating column on every tab stop within string literals Proper error handling for failing to open cwd instead of `catch unreachable` Use platform-specific delimiter for INCLUDE env var parsing
Diffstat (limited to 'src/introspect.zig')
-rw-r--r--src/introspect.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/introspect.zig b/src/introspect.zig
index 2cd19b798f..765e9409ed 100644
--- a/src/introspect.zig
+++ b/src/introspect.zig
@@ -157,8 +157,6 @@ pub const EnvVar = enum {
NO_COLOR,
XDG_CACHE_HOME,
HOME,
- /// https://github.com/ziglang/zig/issues/17585
- INCLUDE,
pub fn isSet(comptime ev: EnvVar) bool {
return std.process.hasEnvVarConstant(@tagName(ev));