Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getToolDir (0.1 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)
Back to top