Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for buildtags (0.14 sec)

  1. src/cmd/go/internal/test/flagdefs.go

    	"appends":          true,
    	"asmdecl":          true,
    	"assign":           true,
    	"atomic":           true,
    	"bool":             true,
    	"bools":            true,
    	"buildtag":         true,
    	"buildtags":        true,
    	"cgocall":          true,
    	"composites":       true,
    	"copylocks":        true,
    	"defers":           true,
    	"directive":        true,
    	"errorsas":         true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/generate.go

    var curves = []struct {
    	P         string
    	Element   string
    	Params    *elliptic.CurveParams
    	BuildTags string
    }{
    	{
    		P:       "P224",
    		Element: "fiat.P224Element",
    		Params:  elliptic.P224().Params(),
    	},
    	{
    		P:         "P256",
    		Element:   "fiat.P256Element",
    		Params:    elliptic.P256().Params(),
    		BuildTags: "(!amd64 && !arm64 && !ppc64le && !s390x) || purego",
    	},
    	{
    		P:       "P384",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. src/crypto/purego_test.go

    		for GOARCH := range allGOARCH {
    			context := build.Context{
    				GOOS:      "linux", // darwin has custom assembly
    				GOARCH:    GOARCH,
    				GOROOT:    testenv.GOROOT(t),
    				Compiler:  build.Default.Compiler,
    				BuildTags: []string{"purego", "math_big_pure_go"},
    			}
    
    			pkg, err := context.Import(pkgName, "", 0)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if len(pkg.SFiles) == 0 {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/build.go

    	// Clients creating a new context may customize BuildTags, which
    	// defaults to empty, but it is usually an error to customize ToolTags or ReleaseTags.
    	// ToolTags defaults to build tags appropriate to the current Go toolchain configuration.
    	// ReleaseTags defaults to the list of Go releases the current release is compatible with.
    	// BuildTags is not set for the Default build Context.
    	// In addition to the BuildTags, ToolTags, and ReleaseTags, build constraints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/generate/generate.go

    	if generateSkipFlag != "" {
    		var err error
    		generateSkipRE, err = regexp.Compile(generateSkipFlag)
    		if err != nil {
    			log.Fatalf("generate: %s", err)
    		}
    	}
    
    	cfg.BuildContext.BuildTags = append(cfg.BuildContext.BuildTags, "generate")
    
    	// Even if the arguments are .go files, this loop suffices.
    	printed := false
    	pkgOpts := load.PackageOpts{IgnoreImports: true}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/go/build/build.go

    	// Clients creating a new context may customize BuildTags, which
    	// defaults to empty, but it is usually an error to customize ToolTags or ReleaseTags.
    	// ToolTags defaults to build tags appropriate to the current Go toolchain configuration.
    	// ReleaseTags defaults to the list of Go releases the current release is compatible with.
    	// BuildTags is not set for the Default build Context.
    	// In addition to the BuildTags, ToolTags, and ReleaseTags, build constraints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    // vetLegacyFlags maps flags used by legacy vet to their corresponding
    // new names. The old names will continue to work.
    var vetLegacyFlags = map[string]string{
    	// Analyzer name changes
    	"bool":       "bools",
    	"buildtags":  "buildtag",
    	"methods":    "stdmethods",
    	"rangeloops": "loopclosure",
    
    	// Analyzer flags
    	"compositewhitelist":  "composites.whitelist",
    	"printfuncs":          "printf.funcs",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    source files that are not part of this package with the current build
    configuration but may be part of other build configurations.
    The contents of these files may be read using Pass.ReadFile;
    see the "asmdecl" or "buildtags" analyzers for examples of loading
    non-Go files and reporting diagnostics against them.
    
    The ResultOf field provides the results computed by the analyzers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/list/list.go

            UseAllFiles   bool     // use files regardless of //go:build lines, file names
            Compiler      string   // compiler to assume when computing target paths
            BuildTags     []string // build constraints to match in //go:build lines
            ToolTags      []string // toolchain-specific build constraints
            ReleaseTags   []string // releases the current release is compatible with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. src/cmd/fix/buildtag.go

    	"strings"
    )
    
    func init() {
    	register(buildtagFix)
    }
    
    const buildtagGoVersionCutoff = "go1.18"
    
    var buildtagFix = fix{
    	name: "buildtag",
    	date: "2021-08-25",
    	f:    buildtag,
    	desc: `Remove +build comments from modules using Go 1.18 or later`,
    }
    
    func buildtag(f *ast.File) bool {
    	if version.Compare(*goVersion, buildtagGoVersionCutoff) < 0 {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top