zig plugin

This commit is contained in:
Matheus C. França 2022-02-13 10:28:35 -03:00 committed by GitHub
parent 02b52a03a5
commit d756224a4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
# Zig as C & CXX compiler (clang wrapper)
alias ZCC="zig cc -fno-sanitize=all -lc"
alias ZCXX="zig c++ -fno-sanitize=all -lc -lc++"
# 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"'