a build system dependency tree that contains a package multiple times results in error: file exists in multiple modules #15755
Labels
bug
Observed behavior contradicts documented or intended behavior
regression
It worked in a previous version of Zig, but stopped working.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Zig Version
0.11.0-dev.3198+ad20236e9
Steps to Reproduce and Observed Behavior
Depends on #15754.
Note that this is two invocations of
zig build
, one with a clean package cache and one with a populated package cache.Expected Behavior
Expected the project to build, both from a clean package cache (first
zig build
invocation) and populated package cache (secondzig build
invocation).This project used to build; it no longer does.
It's perfectly normal for the same package to exist multiple times in a given dependency tree.
cc @mlugg
Related: #14708
The text was updated successfully, but these errors were encountered: