delve/pkg/proc/internal/ebpf/dummy.go
Alessandro Arzilli 2cd9d268d3
proc: add dummy files to fix vendoring of Delve (#2807)
Add some dummy go files so that 'go mod vendor' works for modules that
require Delve, becuase directories that do not contain any go code will
not be vendored.
2021-12-07 09:20:10 -08:00

15 lines
371 B
Go

//go:build dummy
// +build dummy
// This file is part of a workaround for `go mod vendor` which won't
// vendor C files if there are no Go files in the same directory.
//
// See https://github.com/golang/go/issues/26366
package ebpf
import (
_ "github.com/go-delve/delve/pkg/proc/internal/ebpf/bpf"
_ "github.com/go-delve/delve/pkg/proc/internal/ebpf/bpf/include"
)