Merge pull request #7776 from mxpv/build

Cleanup build constraints
This commit is contained in:
Maksym Pavlenko 2022-12-08 10:28:07 -08:00 committed by GitHub
commit 34513f9c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
101 changed files with 23 additions and 100 deletions

View File

@ -1,5 +1,4 @@
//go:build !windows && !freebsd
// +build !windows,!freebsd
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !freebsd
// +build !windows,!freebsd
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !no_aufs
// +build !no_aufs
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !no_btrfs && cgo
// +build !no_btrfs,cgo
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build darwin || freebsd || solaris
// +build darwin freebsd solaris
/*
Copyright The containerd Authors.

View File

@ -0,0 +1,23 @@
//go:build !no_cri
/*
Copyright The containerd Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package builtins
import (
_ "github.com/containerd/containerd/pkg/cri"
)

View File

@ -1,5 +1,4 @@
//go:build !no_devmapper
// +build !no_devmapper
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !no_tracing
// +build !no_tracing
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !no_zfs
// +build !no_zfs
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux || darwin || freebsd || solaris
// +build linux darwin freebsd solaris
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux
// +build !linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -24,7 +24,6 @@ import (
"github.com/containerd/containerd/pkg/seed"
_ "github.com/containerd/containerd/cmd/containerd/builtins"
_ "github.com/containerd/containerd/pkg/cri"
)
func init() {

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux
// +build !linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux
// +build !linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build windows
// +build windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build windows
// +build windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build windows
// +build windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build windows
// +build windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build windows
// +build windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build darwin || openbsd
// +build darwin openbsd
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build windows || darwin
// +build windows darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !freebsd
// +build !freebsd
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux
// +build !linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux && !windows
// +build !linux,!windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !go1.17 && !windows && !darwin
// +build !go1.17,!windows,!darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build go1.17 && !windows && !darwin
// +build go1.17,!windows,!darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux
// +build !linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !darwin && !freebsd
// +build !darwin,!freebsd
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !no_rdt
// +build !no_rdt
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build no_rdt
// +build no_rdt
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build darwin
// +build darwin
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !darwin && !freebsd
// +build !windows,!darwin,!freebsd
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build go1.8 && !windows && amd64 && !static_build && !gccgo
// +build go1.8,!windows,amd64,!static_build,!gccgo
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !go1.8 || windows || !amd64 || static_build || gccgo
// +build !go1.8 windows !amd64 static_build gccgo
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux
// +build !linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build linux
// +build linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build darwin || freebsd || solaris
// +build darwin freebsd solaris
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !linux
// +build !linux
/*
Copyright The containerd Authors.

View File

@ -1,5 +1,4 @@
//go:build !windows
// +build !windows
/*
Copyright The containerd Authors.

Some files were not shown because too many files have changed in this diff Show More