...
Run Format

Source file src/runtime/internal/sys/sys.go

     1	// Copyright 2015 The Go Authors. All rights reserved.
     2	// Use of this source code is governed by a BSD-style
     3	// license that can be found in the LICENSE file.
     4	
     5	// package sys contains system- and configuration- and architecture-specific
     6	// constants used by the runtime.
     7	package sys
     8	
     9	// The next line makes 'go generate' write the zgen_*.go files with
    10	// per-OS and per-arch information, including constants
    11	// named goos_$GOOS and goarch_$GOARCH for every
    12	// known GOOS and GOARCH. The constant is 1 on the
    13	// current system, 0 otherwise; multiplying by them is
    14	// useful for defining GOOS- or GOARCH-specific constants.
    15	//go:generate go run gengoos.go
    16	

View as plain text