Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for buildFlags (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,
    	"framepointer":     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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top