Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/go/internal/list/context.go

    		GOARCH:        c.GOARCH,
    		GOOS:          c.GOOS,
    		GOROOT:        c.GOROOT,
    		GOPATH:        c.GOPATH,
    		CgoEnabled:    c.CgoEnabled,
    		UseAllFiles:   c.UseAllFiles,
    		Compiler:      c.Compiler,
    		BuildTags:     c.BuildTags,
    		ToolTags:      c.ToolTags,
    		ReleaseTags:   c.ReleaseTags,
    		InstallSuffix: c.InstallSuffix,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 21:56:16 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/testdata/script/vet_flags.txt

    env GO111MODULE=on
    
    # Issue 35837: "go vet -<analyzer> <std package>" should use the requested
    # analyzers, not the default analyzers for 'go test'.
    go vet -n -buildtags=false runtime
    stderr '-buildtags=false'
    ! stderr '-unsafeptr=false'
    
    # Issue 37030: "go vet <std package>" without other flags should disable the
    # unsafeptr check by default.
    go vet -n runtime
    stderr '-unsafeptr=false'
    ! stderr '-unreachable=false'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/imports/tags.go

    		cfg.BuildContext.GOOS:     true,
    		cfg.BuildContext.GOARCH:   true,
    		cfg.BuildContext.Compiler: true,
    	}
    	if cfg.BuildContext.CgoEnabled {
    		tags["cgo"] = true
    	}
    	for _, tag := range cfg.BuildContext.BuildTags {
    		tags[tag] = true
    	}
    	for _, tag := range cfg.BuildContext.ToolTags {
    		tags[tag] = true
    	}
    	for _, tag := range cfg.BuildContext.ReleaseTags {
    		tags[tag] = true
    	}
    	return tags
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:43:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/go/build/build_test.go

    	nomatch(runtime.GOOS+","+runtime.GOARCH+",foo", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "foo": true})
    
    	what = "modified"
    	ctxt.BuildTags = []string{"foo"}
    	match(runtime.GOOS+","+runtime.GOARCH, map[string]bool{runtime.GOOS: true, runtime.GOARCH: true})
    	match(runtime.GOOS+","+runtime.GOARCH+",foo", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "foo": true})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top