authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-09-17 20:18:59-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-09-17 20:19:18-07:00
log9d0fb12a8f377fea9e5496e48b5741fe7d2d1a97
treee0a32af524447276b5473506eea8d17a6e6b11e6
parent5ede6a167eef1835f6fb6c768a82d977269dafe5

std.Build.Step.Option: clarify addOptionPathUntracked

in particular, that it may be a file or directory

1 files changed, 3 insertions(+), 4 deletions(-)

lib/std/Build/Step/Options.zig+3-4
......@@ -439,10 +439,9 @@ pub fn addOptionPath(options: *Options, name: []const u8, path: LazyPath) void {
439439 path.addStepDependencies(&options.step);
440440}
441441
442/// The added option has type `[]const u8` and value of the provided path.
443/// This interface treats the resolved path string as pure data, meaning it
444/// does not track anything about the meaning or contents of this path, and
445/// therefore also does not create any related dependencies.
442/// The added option has type `[]const u8` and value of the provided path. The resolved path is interpreted as
443/// a string without tracking anything about the meaning or contents, and therefore may be a file, directory,
444/// not exist, or even be an invalid path, and likewise does not create any file system or `Step` dependencies.
446445///
447446/// See also:
448447/// * `addOptionPath`