Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasGoRun (0.07 sec)

  1. src/internal/testenv/testenv.go

    	}
    	if !HasGoBuild() {
    		t.Helper()
    		t.Skipf("skipping test: 'go build' unavailable: %v", goBuildErr)
    	}
    }
    
    // HasGoRun reports whether the current system can run programs with “go run”.
    func HasGoRun() bool {
    	// For now, having go run and having go build are the same.
    	return HasGoBuild()
    }
    
    // MustHaveGoRun checks that the current system can run programs with “go run”.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top