ability to construct a LazyPath out of any file from a dependency package #16643
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
The idea here is that you can put an arbitrary file contents in your build.zig.zon, like this:
Normally, at this point, one would activate the
build.zig
script of the dependency like this:However, this issue is about the use case where the dependency is not a zig package, but a bundle of arbitrary files.
The idea is that you can access arbitrary files as
std.Build.LazyPath
objects, like this:Using it via the LazyPath API would help with #14597, because resolution of the path would force the package to be downloaded.
The text was updated successfully, but these errors were encountered: