#[0.12.0] How to add a module for `zig run ...`

1 messages · Page 1 of 1 (latest)

agile storm
#

as I understand it zig run --dep mymod -Mroot=src/main.zig -Mmymod=../mymodule/src/main.zig (order matters)

ember thorn
agile storm
#

what exact compiler version are you using?

ember thorn
agile storm
#

that can only happen if there are arguments that don't start with - which my command doesn't have any of

#

oops, it's zig run --dep=mymod -Mroot=src/main.zig -Mmymod=../mymodule/src/main.zig

#

hmm maybe not