Skip to content

support package dependencies via paths relative to the build root #14339

@TUSF

Description

@TUSF

zig build should be able to fetch from a relative path such as:

    .url = "../myproject/",

or a file URI like:

    .url = "file:///C:/Code/myproject/"

I think this would mostly be useful for when operating on local forks of code that aren't published anywhere else, without needing to explicitly vendor those dependencies into the same folder. (Although perhaps this might make vendored dependencies also easier to work with using the build system?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    Status

    Fetching

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions