// Generated by gen_p256_table.go. DO NOT EDIT.
//go:build amd64 || arm64
-// +build amd64 arm64
package elliptic
}
var buf bytes.Buffer
fmt.Fprintf(&buf, "// Code generated by gengoarch.go using 'go generate'. DO NOT EDIT.\n\n")
- fmt.Fprintf(&buf, "//go:build %s\n", target)
- fmt.Fprintf(&buf, "// +build %s\n\n", target) // must explicitly include target for bootstrapping purposes
+ fmt.Fprintf(&buf, "//go:build %s\n", target) // must explicitly include target for bootstrapping purposes
fmt.Fprintf(&buf, "package goarch\n\n")
fmt.Fprintf(&buf, "const GOARCH = `%s`\n\n", target)
for _, goarch := range goarches {
var buf bytes.Buffer
fmt.Fprintf(&buf, "// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.\n\n")
fmt.Fprintf(&buf, "//go:build %s\n", strings.Join(tags, " && "))
- fmt.Fprintf(&buf, "// +build %s\n\n", strings.Join(tags, ","))
fmt.Fprintf(&buf, "package goos\n\n")
fmt.Fprintf(&buf, "const GOOS = `%s`\n\n", target)
for _, goos := range gooses {
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
package windows_test
// license that can be found in the LICENSE file.
//go:build generate
-// +build generate
package windows
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
package registry
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
// Package registry provides access to the Windows registry.
//
// license that can be found in the LICENSE file.
//go:build generate
-// +build generate
package registry
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
package registry_test
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
package registry
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
package registry
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
// Package sysdll is an internal leaf package that records and reports
// which Windows DLL names are used by Go itself. These DLLs are then
// license that can be found in the LICENSE file.
//go:build asan && linux && (arm64 || amd64)
-// +build asan
-// +build linux
-// +build arm64 amd64
package asan
func tagsPPC64x(w io.Writer) {
fmt.Fprintln(w)
fmt.Fprintln(w, "//go:build ppc64 || ppc64le")
- fmt.Fprintln(w, "// +build ppc64 ppc64le")
fmt.Fprintln(w)
}
func tagsMIPS64x(w io.Writer) {
fmt.Fprintln(w)
fmt.Fprintln(w, "//go:build mips64 || mips64le")
- fmt.Fprintln(w, "// +build mips64 mips64le")
fmt.Fprintln(w)
}
if beLe[arch] {
base := arch[:len(arch)-1]
fmt.Fprintf(out, "//go:build %s || %sle\n", base, base)
- fmt.Fprintf(out, "// +build %s %sle\n\n", base, base)
}
fmt.Fprintf(out, "#include \"go_asm.h\"\n")
fmt.Fprintf(out, "#include \"textflag.h\"\n\n")
// license that can be found in the LICENSE file.
//go:build msan && linux && (amd64 || arm64)
-// +build msan
-// +build linux
-// +build amd64 arm64
package msan
buf.WriteString(`// Code generated by wincallback.go using 'go generate'. DO NOT EDIT.
//go:build 386 || amd64
-// +build 386 amd64
// runtime·callbackasm is called by external code to
// execute Go implemented callback function. It is not
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
package js
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
package js
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
// Package js gives access to the WebAssembly host environment when using the js/wasm architecture.
// Its API is based on JavaScript semantics.
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
// To run these tests:
//