Skip to content
/ zigtool Public

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

License

Notifications You must be signed in to change notification settings

dosgo/zigtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages