Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Pkgs (0.04 sec)

  1. src/cmd/go/internal/load/pkg.go

    				p.Internal.CmdlinePkgLiteral = true
    			}
    			pkgs = append(pkgs, p)
    		}
    	}
    
    	if opts.MainOnly {
    		pkgs = mainPackagesOnly(pkgs, matches)
    	}
    
    	// Now that CmdlinePkg is set correctly,
    	// compute the effective flags for all loaded packages
    	// (not just the ones matching the patterns but also
    	// their dependencies).
    	setToolFlags(pkgs...)
    
    	setPGOProfilePath(pkgs)
    
    	return pkgs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    		var pcflags []string
    		var pkgs []string
    		for _, pcarg := range pcargs {
    			if pcarg == "--" {
    				// We're going to add our own "--" argument.
    			} else if strings.HasPrefix(pcarg, "--") {
    				pcflags = append(pcflags, pcarg)
    			} else {
    				pkgs = append(pkgs, pcarg)
    			}
    		}
    		for _, pkg := range pkgs {
    			if !load.SafeArg(pkg) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top