Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for buildFlags (0.17 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

                        println new org.gradle.test.BuildClass().message()
                    }
                }
            '''
            ArtifactBuilder builder = artifactBuilder()
            File jarFile = file("repo/test-1.3-BUILD-SNAPSHOT.jar")
    
            when:
            builder.sourceFile("org/gradle/test/BuildClass.java").createFile().text = '''
                package org.gradle.test;
                public class BuildClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/go/internal/work/build.go

    	cmd.Flag.BoolVar(&cfg.BuildRace, "race", false, "")
    	cmd.Flag.BoolVar(&cfg.BuildMSan, "msan", false, "")
    	cmd.Flag.BoolVar(&cfg.BuildASan, "asan", false, "")
    	cmd.Flag.Var((*tagsFlag)(&cfg.BuildContext.BuildTags), "tags", "")
    	cmd.Flag.Var((*base.StringsFlag)(&cfg.BuildToolexec), "toolexec", "")
    	cmd.Flag.BoolVar(&cfg.BuildTrimpath, "trimpath", false, "")
    	cmd.Flag.BoolVar(&cfg.BuildWork, "work", false, "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/action.go

    	if err := CheckGOOSARCHPair(cfg.Goos, cfg.Goarch); err != nil {
    		fmt.Fprintf(os.Stderr, "go: %v\n", err)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    
    	for _, tag := range cfg.BuildContext.BuildTags {
    		if strings.Contains(tag, ",") {
    			fmt.Fprintf(os.Stderr, "go: -tags space-separated list contains comma\n")
    			base.SetExitStatus(2)
    			base.Exit()
    		}
    	}
    
    	return b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top