2022-02-13 13:28:35 +00:00
|
|
|
|
|
|
|
# Zig as C & CXX compiler (clang wrapper)
|
2022-02-13 13:55:45 +00:00
|
|
|
export ZCC="zig cc -fno-sanitize=all -lc"
|
|
|
|
export ZCXX="zig c++ -fno-sanitize=all -lc -lc++"
|
2022-02-13 13:28:35 +00:00
|
|
|
|
|
|
|
# Zig build-system project
|
|
|
|
alias zbuild="zig build"
|
|
|
|
alias zbuildrun="zig build run"
|
|
|
|
alias zbuildtest="zig build test"
|
|
|
|
alias zbuildexe="zig init-exe"
|
|
|
|
alias zbuildlib="zig init-lib"
|
|
|
|
|
|
|
|
# Other Commands
|
|
|
|
alias zfmt="zig fmt"
|
|
|
|
alias zlint="zig ast-check"
|
|
|
|
alias c2zig="zig translate-c"
|
|
|
|
alias ztest="zig test"
|
|
|
|
alias zrun="zig run"
|
|
|
|
alias zversion="zig version"
|
|
|
|
|
|
|
|
alias zfind='find . -name "*.zig"'
|