Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for goBuildConstraint (0.16 sec)

  1. src/cmd/go/internal/modindex/scan.go

    			continue
    		} else if info == nil {
    			p.sourceFiles = append(p.sourceFiles, &rawFile{name: name, ignoreFile: true})
    			continue
    		}
    		rf := &rawFile{
    			name:                 name,
    			goBuildConstraint:    info.goBuildConstraint,
    			plusBuildConstraints: info.plusBuildConstraints,
    			binaryOnly:           info.binaryOnly,
    			directives:           info.directives,
    		}
    		if info.parsed != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/read.go

    			}
    		}
    
    		var shouldBuild = true
    		if !ctxt.goodOSArchFile(name, allTags) && !ctxt.UseAllFiles {
    			shouldBuild = false
    		} else if goBuildConstraint := tf.goBuildConstraint(); goBuildConstraint != "" {
    			x, err := constraint.Parse(goBuildConstraint)
    			if err != nil {
    				return p, fmt.Errorf("%s: parsing //go:build line: %v", name, err)
    			}
    			shouldBuild = ctxt.eval(x, allTags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top