1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-14 13:21:00 +01:00

export zig as c/c++ compiler

Alternate CC and CXX
This commit is contained in:
Matheus C. França
2022-02-13 10:55:45 -03:00
committed by GitHub
parent 0ead02ec6f
commit 1e8f612206

View File

@@ -1,7 +1,7 @@
# Zig as C & CXX compiler (clang wrapper)
alias ZCC="zig cc -fno-sanitize=all -lc"
alias ZCXX="zig c++ -fno-sanitize=all -lc -lc++"
export ZCC="zig cc -fno-sanitize=all -lc"
export ZCXX="zig c++ -fno-sanitize=all -lc -lc++"
# Zig build-system project
alias zbuild="zig build"