Closed as not planned
Description
Let's say I have src/main.zig
with following:
const std = @import("std");
const zap = @import("zap");
...
I have zap
defined in build.zig
& build.zig.zon
, zig build
succeeds.
But when I try to zig-run
from Emacs it fails with:
main.zig:2:21: error: no package named 'zap' available within package 'root'
I probably know why it happens (sorry I am relatively new to Zig), because zig run
does not play well with build.zig
. But doesn't this make zig run
and zig-run
Emacs function useless for larger (and practical) projects?
How do you run your code from within Emacs while making projects with Zig?
Metadata
Metadata
Assignees
Labels
No labels