correctly exclude builtin.zig from build.zig search
This commit is contained in:
parent
4f27f075d7
commit
ce7afe03f2
@ -654,7 +654,7 @@ fn createDocument(self: *DocumentStore, uri: Uri, text: [:0]u8, open: bool) erro
|
||||
} else |err| {
|
||||
log.debug("Failed to load build file {s}: (error: {})", .{ uri, err });
|
||||
}
|
||||
} else if (self.config.zig_exe_path != null and std.mem.endsWith(u8, uri, "/builtin.zig") and !in_std) blk: {
|
||||
} else if (self.config.zig_exe_path != null and !std.mem.endsWith(u8, uri, "/builtin.zig") and !in_std) blk: {
|
||||
log.debug("Going to walk down the tree towards: {s}", .{uri});
|
||||
// walk down the tree towards the uri. When we hit build.zig files
|
||||
// determine if the uri we're interested in is involved with the build.
|
||||
|
Loading…
Reference in New Issue
Block a user