Skip to content

build.zig: handle tarball with "." as root module #24197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gwenzek
Copy link
Contributor

@gwenzek gwenzek commented Jun 16, 2025

The issue has been reported under #23152 and #23187

I've also face the issue while working on zml/zml#262
Note that the issue trigger just by adding a .tar.gz in your build.zig.zon that has a ./myfile.txt inside and running zig build --fetch.

I've modified a bit the fetch rule to strip root dir equal to "."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant