use `nimble c <filename>` or you can create separate build task in your nimble
file:
task zigcc, "Build with a zig compiler.":
let nimCmd = """nim c --verbose -d:release --cc:clang --clang.exe:zigcc
--clang.linkerexe:zigcc --passC="--target x86_64-linux-musl" --passL="--target
x86_64-linux-musl" main.nim"""
exec nimCmd
Run
and use it like this:
nimble zigcc
Run
