Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getToolDir (0.18 sec)

  1. src/go/build/gccgo.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gccgo
    
    package build
    
    import "runtime"
    
    // getToolDir returns the default value of ToolDir.
    func getToolDir() string {
    	return envOr("GCCGOTOOLDIR", runtime.GCCGOTOOLDIR)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 344 bytes
    - Viewed (0)
  2. src/go/build/gc.go

    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    package build
    
    import (
    	"path/filepath"
    	"runtime"
    )
    
    // getToolDir returns the default value of ToolDir.
    func getToolDir() string {
    	return filepath.Join(runtime.GOROOT(), "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 396 bytes
    - Viewed (0)
  3. src/go/build/build.go

    	}
    	if n >= 1 && (knownOS[l[n-1]] || knownArch[l[n-1]]) {
    		return ctxt.matchTag(l[n-1], allTags)
    	}
    	return true
    }
    
    // ToolDir is the directory containing build tools.
    var ToolDir = getToolDir()
    
    // IsLocalImport reports whether the import path is
    // a local import path, like ".", "..", "./foo", or "../foo".
    func IsLocalImport(path string) bool {
    	return path == "." || path == ".." ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
Back to top