mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

Removes gogo/protobuf from buildx and updates to a version of moby/buildkit where gogo is removed. This also changes how the proto files are generated. This is because newer versions of protobuf are more strict about name conflicts. If two files have the same name (even if they are relative paths) and are used in different protoc commands, they'll conflict in the registry. Since protobuf file generation doesn't work very well with `paths=source_relative`, this removes the `go:generate` expression and just relies on the dockerfile to perform the generation. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
16 lines
318 B
Go
16 lines
318 B
Go
//go:build (amd64 || arm64) && !appengine && gc && !purego
|
|
// +build amd64 arm64
|
|
// +build !appengine
|
|
// +build gc
|
|
// +build !purego
|
|
|
|
package xxhash
|
|
|
|
// Sum64 computes the 64-bit xxHash digest of b with a zero seed.
|
|
//
|
|
//go:noescape
|
|
func Sum64(b []byte) uint64
|
|
|
|
//go:noescape
|
|
func writeBlocks(d *Digest, b []byte) int
|