-
Notifications
You must be signed in to change notification settings - Fork 21
Description
So I saw #6 and read through. I didn't see anything explained in the README on how to deal with the dawn libs, but I tried as explained in the issue
Yes, Zig's package manager requires that you add all non-lazy dependencies and sub-dependencies to your build.zig.zon. You can manually copy the dependency entries out of the lib's build.zig.zon info your projects build.zig.zon, or give the URLs to zig fetch --save {url}.
Specifically I tried both doing zig fetch --save git+https://github.com/michal-z/webgpu_dawn-x86_64-windows-gnu.git
which gave this error
error: unable to determine name; fetched package has no build.zig.zon file
As well as just adding the deps manually to build.zig.zon by copying the relevant entries from the zgpu build.zig.zon.
This all arose from trying to use zgui so I hope I've chased this issue down to the right place 😅