1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 16:20:07 +00: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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