An open API service indexing awesome lists of open source software.

https://github.com/dosgo/zigtool

The golang tool of the zig compiler automatically compiles different targets according to the GOOS GOARCH environment variable. You need to install zig.
https://github.com/dosgo/zigtool

Last synced: 5 months ago
JSON representation

The golang tool of the zig compiler automatically compiles different targets according to the GOOS GOARCH environment variable. You need to install zig.

Awesome Lists containing this project

README

          

# zigtool
The golang tool of the zig compiler automatically compiles different targets according to the GOOS GOARCH environment variable. You need to install zig.

go install github.com/dosgo/zigtool/zigcc@latest

go install github.com/dosgo/zigtool/zigcpp@latest

set CC=zigcc
set CXX=zigcpp

Manually set the compilation target

set ZIGTARGET=x86_64-windows-gnu