Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ShouldBuild (0.14 sec)

  1. src/go/build/build.go

    //
    // marks the file as applicable only on Windows and Linux.
    //
    // For each build tag it consults, shouldBuild sets allTags[tag] = true.
    //
    // shouldBuild reports whether the file should be built
    // and whether a //go:binary-only-package comment was found.
    func (ctxt *Context) shouldBuild(content []byte, allTags map[string]bool) (shouldBuild, binaryOnly bool, err error) {
    	// Identify leading run of // comments and blank lines,
    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/dist/build.go

    	default:
    		return false
    	}
    }
    
    // shouldbuild reports whether we should build this file.
    // It applies the same rules that are used with context tags
    // in package go/build, except it's less picky about the order
    // of GOOS and GOARCH.
    // We also allow the special tag cmd_go_bootstrap.
    // See ../go/bootstrap.go and package go/build.
    func shouldbuild(file, pkg string) bool {
    	// Check file name for GOOS or GOARCH.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top