Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for binaryOnly (0.1 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/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)
Back to top