ZigBrains icon indicating copy to clipboard operation
ZigBrains copied to clipboard

External Libraries displays duplicated libxev

Open dacheng-gao opened this issue 3 months ago • 3 comments

In case you need, here is the repo: https://github.com/dacheng-zig/myzql-ziro

Image

dacheng-gao avatar Sep 28 '25 15:09 dacheng-gao

After various attempts, cannot reproduce with Zig 0.15.1 and plugin version 28.0.0-252. Image

Also, libxev requires Zig 0.15.1, how did you make it load the project in 0.14.1? it should error out..

ENDERZOMBI102 avatar Oct 13 '25 14:10 ENDERZOMBI102

Ok, thanks for your respond.

I need to update the context and my attempt: As I drop the indirect dep libxev from mysql-ziro and myzql, it did not show duplicates of libxev now.

Per your question, libxev is adapted to zig 0.15.1 recently. And I also adapt 'ziro' and 'myzql' to zig 0.15.1.

Image Image

dacheng-gao avatar Oct 14 '25 01:10 dacheng-gao

This seems like expected behaviour, if you have the same library imported but with a different hash, it will be present multiple times in the zig dependency tree. The External Libraries tab can only show a "flattened" view of the dependency tree so it looks like it's duplicated

FalsePattern avatar Oct 25 '25 14:10 FalsePattern