Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for goBuildConstraint (0.17 sec)

  1. 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