Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for BinaryOnly (0.15 sec)

  1. src/go/build/build.go

    			}
    			if gorootFirst {
    				dir := ctxt.joinPath(ctxt.GOROOT, "src", path)
    				if ctxt.Compiler != "gccgo" {
    					isDir := ctxt.isDir(dir)
    					binaryOnly = !isDir && mode&AllowBinary != 0 && pkga != "" && ctxt.isFile(ctxt.joinPath(ctxt.GOROOT, pkga))
    					if isDir || binaryOnly {
    						p.Dir = dir
    						p.Goroot = true
    						p.Root = ctxt.GOROOT
    						goto Found
    					}
    				}
    				tried.goroot = dir
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/scan.go

    			continue
    		}
    		rf := &rawFile{
    			name:                 name,
    			goBuildConstraint:    info.goBuildConstraint,
    			plusBuildConstraints: info.plusBuildConstraints,
    			binaryOnly:           info.binaryOnly,
    			directives:           info.directives,
    		}
    		if info.parsed != nil {
    			rf.pkgName = info.parsed.Name.Name
    		}
    
    		// Going to save the file. For non-Go files, can stop here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/read.go

    		isXTest := false
    		if isTest && strings.HasSuffix(tf.pkgName(), "_test") && p.Name != tf.pkgName() {
    			isXTest = true
    			pkg = pkg[:len(pkg)-len("_test")]
    		}
    
    		if !isTest && tf.binaryOnly() {
    			p.BinaryOnly = true
    		}
    
    		if p.Name == "" {
    			p.Name = pkg
    			firstFile = name
    		} else if pkg != p.Name {
    			// TODO(#45999): The choice of p.Name is arbitrary based on file iteration
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	tg.grepStderr("p1: binary-only packages are no longer supported", "did not report error for binary-only p1")
    
    	tg.run("list", "-deps", "-f", "{{.ImportPath}}: {{.BinaryOnly}}", "p2")
    	tg.grepStdout("p1: true", "p1 not listed as BinaryOnly")
    	tg.grepStdout("p2: false", "p2 listed as BinaryOnly")
    }
    
    // Issue 16050 and 21884.
    func TestLinkSysoFiles(t *testing.T) {
    	if runtime.GOOS != "linux" || runtime.GOARCH != "amd64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/list/list.go

            StaleReason    string   // explanation for Stale==true
            Root           string   // Go root or Go path dir containing this package
            ConflictDir    string   // this directory shadows Dir in $GOPATH
            BinaryOnly     bool     // binary-only package (no longer supported)
            ForTest        string   // package is only for use in named test
            Export         string   // file containing export data (when using -export)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    		}
    	}
    
    	p.Dir = pp.Dir
    	p.ImportPath = pp.ImportPath
    	p.ImportComment = pp.ImportComment
    	p.Name = pp.Name
    	p.Doc = pp.Doc
    	p.Root = pp.Root
    	p.ConflictDir = pp.ConflictDir
    	p.BinaryOnly = pp.BinaryOnly
    
    	// TODO? Target
    	p.Goroot = pp.Goroot
    	p.Standard = p.Goroot && p.ImportPath != "" && search.IsStandardImportPath(p.ImportPath)
    	p.GoFiles = pp.GoFiles
    	p.CgoFiles = pp.CgoFiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    		bit(needCgoHdr, b.needCgoHdr(a)) |
    		bit(needVet, a.needVet) |
    		bit(needCovMetaFile, needCovMeta) |
    		bit(needCompiledGoFiles, b.NeedCompiledGoFiles)
    
    	if !p.BinaryOnly {
    		if b.useCache(a, b.buildActionID(a), p.Target, need&needBuild != 0) {
    			// We found the main output in the cache.
    			// If we don't need any other outputs, we can stop.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. src/cmd/go/alldocs.go

    //	    StaleReason    string   // explanation for Stale==true
    //	    Root           string   // Go root or Go path dir containing this package
    //	    ConflictDir    string   // this directory shadows Dir in $GOPATH
    //	    BinaryOnly     bool     // binary-only package (no longer supported)
    //	    ForTest        string   // package is only for use in named test
    //	    Export         string   // file containing export data (when using -export)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"MultiplePackageError.Packages", Field, 4},
    		{"NoGoError", Type, 0},
    		{"NoGoError.Dir", Field, 0},
    		{"Package", Type, 0},
    		{"Package.AllTags", Field, 2},
    		{"Package.BinDir", Field, 0},
    		{"Package.BinaryOnly", Field, 7},
    		{"Package.CFiles", Field, 0},
    		{"Package.CXXFiles", Field, 2},
    		{"Package.CgoCFLAGS", Field, 0},
    		{"Package.CgoCPPFLAGS", Field, 2},
    		{"Package.CgoCXXFLAGS", Field, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top