#Help using local dependency insteaf of cached

1 messages · Page 1 of 1 (latest)

exotic plover
#

Need help with this.

#zig message

After adapting the following to build, I realized the source needed some small changes (var -> const and @ptrCast syntax) but now how do I get it to pull from the local copy?

#

I cloned the repo to local and fixed, and I'd to use that instead of whatever zig fetch pulled

#

const fftiny = std.Build.dependency(b, "fftiny", .{}); const fftiny_module = b.addModule("fftiny", .{ .root_source_file = fftiny.path("src/main.zig"), }); exe.root_module.addImport("fftiny", fftiny_module);