mirror of
https://github.com/georgyo/ifconfig.io.git
synced 2025-09-15 16:28:01 +00:00
Version Bumps
This commit is contained in:
4
vendor/golang.org/x/sys/unix/mksyscall.go
generated
vendored
4
vendor/golang.org/x/sys/unix/mksyscall.go
generated
vendored
@@ -88,6 +88,10 @@ func parseParam(p string) Param {
|
||||
func main() {
|
||||
// Get the OS and architecture (using GOARCH_TARGET if it exists)
|
||||
goos := os.Getenv("GOOS")
|
||||
if goos == "" {
|
||||
fmt.Fprintln(os.Stderr, "GOOS not defined in environment")
|
||||
os.Exit(1)
|
||||
}
|
||||
goarch := os.Getenv("GOARCH_TARGET")
|
||||
if goarch == "" {
|
||||
goarch = os.Getenv("GOARCH")
|
||||
|
Reference in New Issue
Block a user