...

Source file src/cmd/vendor/golang.org/x/tools/internal/versions/toolchain.go

Documentation: cmd/vendor/golang.org/x/tools/internal/versions

     1  // Copyright 2024 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package versions
     6  
     7  // toolchain is maximum version (<1.22) that the go toolchain used
     8  // to build the current tool is known to support.
     9  //
    10  // When a tool is built with >=1.22, the value of toolchain is unused.
    11  //
    12  // x/tools does not support building with go <1.18. So we take this
    13  // as the minimum possible maximum.
    14  var toolchain string = Go1_18
    15  

View as plain text