Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for buildtags (0.13 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/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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build go1.16
    // +build go1.16
    
    // Package buildtag defines an Analyzer that checks build tags.
    package buildtag
    
    import (
    	"go/ast"
    	"go/build/constraint"
    	"go/parser"
    	"go/token"
    	"strings"
    	"unicode"
    
    	"golang.org/x/tools/go/analysis"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/FeatureCheckBuildResultTest.groovy

        String output = 'output'
        BuildTask successBuildResult = new DefaultBuildTask(':a', SUCCESS)
        BuildTask failedBuildResult = new DefaultBuildTask(':b', FAILED)
        def buildTasks = [successBuildResult, failedBuildResult]
    
        def "provides expected field values for supported Gradle version"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/BuildTask.java

     * limitations under the License.
     */
    
    package org.gradle.testkit.runner;
    
    /**
     * A task that was executed when running a specific build.
     *
     * @since 2.6
     * @see BuildResult
     */
    public interface BuildTask {
    
        /**
         * The unique path of the task.
         * <p>
         * The task path is a combination of its enclosing project's path and its name.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultBuildResultTest.groovy

    package org.gradle.testkit.runner.internal
    
    import org.gradle.testkit.runner.BuildTask
    import spock.lang.Specification
    
    import static org.gradle.testkit.runner.TaskOutcome.*
    
    class DefaultBuildResultTest extends Specification {
        BuildTask successBuildResult = new DefaultBuildTask(':a', SUCCESS)
        BuildTask failedBuildResult = new DefaultBuildTask(':b', FAILED)
        BuildTask skippedBuildResult = new DefaultBuildTask(':c', SKIPPED)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top