use case: ability to declare dependency on single file #17895
Labels
accepted
This proposal is planned.
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
ZLS depends on Zig's langref.html.in file to extract the set of a builtin function.
Right now, this file is being manually downloaded during the build phase which does not integrate well with Zig's package manager and caching system. GitHub can't provide that file as a compressed tarball and fetching the entire repository source code is too wasteful.
It would be nice if there was a way to declare it as dependency to build.zig.zon:
The text was updated successfully, but these errors were encountered: