Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for buildFlags (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/go/internal/test/test.go

    finds any problems, go test reports those and does not run the test
    binary. Only a high-confidence subset of the default go vet checks are
    used. That subset is: atomic, bool, buildtags, directive, errorsas,
    ifaceassert, nilfunc, printf, and stringintconv. You can see
    the documentation for these and other vet tests via "go doc cmd/vet".
    To disable the running of go vet, use the -vet=off flag. To run all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //	    CgoEnabled    bool     // whether cgo can be used
    //	    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: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/cmd/go/go_test.go

    	}{
    		{"GOARCH", runtime.GOARCH},
    		{"GOOS", runtime.GOOS},
    		{"GOROOT", testGOROOT},
    		{"GOPATH", os.Getenv("GOPATH")},
    		{"CgoEnabled", ""},
    		{"UseAllFiles", ""},
    		{"Compiler", ""},
    		{"BuildTags", ""},
    		{"ReleaseTags", ""},
    		{"InstallSuffix", ""},
    	} {
    		tt := tt
    		t.Run(tt.v, func(t *testing.T) {
    			tg := testgo(t)
    			tg.parallel()
    			defer tg.cleanup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    	}
    	if cfg.BuildMSan {
    		appendSetting("-msan", "true")
    	}
    	// N.B. -pgo added later by setPGOProfilePath.
    	if cfg.BuildRace {
    		appendSetting("-race", "true")
    	}
    	if tags := cfg.BuildContext.BuildTags; len(tags) > 0 {
    		appendSetting("-tags", strings.Join(tags, ","))
    	}
    	if cfg.BuildTrimpath {
    		appendSetting("-trimpath", "true")
    	}
    	if p.DefaultGODEBUG != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*NoGoError).Error", Method, 0},
    		{"(*Package).IsCommand", Method, 0},
    		{"AllowBinary", Const, 0},
    		{"ArchChar", Func, 0},
    		{"Context", Type, 0},
    		{"Context.BuildTags", Field, 0},
    		{"Context.CgoEnabled", Field, 0},
    		{"Context.Compiler", Field, 0},
    		{"Context.Dir", Field, 14},
    		{"Context.GOARCH", Field, 0},
    		{"Context.GOOS", Field, 0},
    		{"Context.GOPATH", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg go/build, method (*Context) SrcDirs() []string
    pkg go/build, method (*NoGoError) Error() string
    pkg go/build, method (*Package) IsCommand() bool
    pkg go/build, type Context struct
    pkg go/build, type Context struct, BuildTags []string
    pkg go/build, type Context struct, CgoEnabled bool
    pkg go/build, type Context struct, Compiler string
    pkg go/build, type Context struct, GOARCH string
    pkg go/build, type Context struct, GOOS string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top