mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-10 13:37:08 +08:00
vendor: github.com/moby/buildkit v0.21.0-rc1
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
12
vendor/golang.org/x/tools/cmd/stringer/gotypesalias.go
generated
vendored
12
vendor/golang.org/x/tools/cmd/stringer/gotypesalias.go
generated
vendored
@ -1,12 +0,0 @@
|
||||
// Copyright 2024 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build go1.23
|
||||
|
||||
//go:debug gotypesalias=1
|
||||
|
||||
package main
|
||||
|
||||
// Materialize aliases whenever the go toolchain version is after 1.23 (#69772).
|
||||
// Remove this file after go.mod >= 1.23 (which implies gotypesalias=1).
|
6
vendor/golang.org/x/tools/cmd/stringer/stringer.go
generated
vendored
6
vendor/golang.org/x/tools/cmd/stringer/stringer.go
generated
vendored
@ -244,10 +244,10 @@ type Generator struct {
|
||||
buf bytes.Buffer // Accumulated output.
|
||||
pkg *Package // Package we are scanning.
|
||||
|
||||
logf func(format string, args ...interface{}) // test logging hook; nil when not testing
|
||||
logf func(format string, args ...any) // test logging hook; nil when not testing
|
||||
}
|
||||
|
||||
func (g *Generator) Printf(format string, args ...interface{}) {
|
||||
func (g *Generator) Printf(format string, args ...any) {
|
||||
fmt.Fprintf(&g.buf, format, args...)
|
||||
}
|
||||
|
||||
@ -279,7 +279,7 @@ type Package struct {
|
||||
func loadPackages(
|
||||
patterns, tags []string,
|
||||
trimPrefix string, lineComment bool,
|
||||
logf func(format string, args ...interface{}),
|
||||
logf func(format string, args ...any),
|
||||
) []*Package {
|
||||
cfg := &packages.Config{
|
||||
Mode: packages.NeedName | packages.NeedTypes | packages.NeedTypesInfo | packages.NeedSyntax | packages.NeedFiles,
|
||||
|
Reference in New Issue
Block a user