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.
- Host: GitHub
- URL: https://github.com/dosgo/zigtool
- Owner: dosgo
- License: mit
- Created: 2021-08-19T01:59:01.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-17T22:34:56.000Z (about 4 years ago)
- Last Synced: 2024-06-18T21:40:53.524Z (almost 2 years ago)
- Language: Go
- Size: 15.6 KB
- Stars: 42
- Watchers: 3
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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