mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 20:23:41 +08:00
proc/internal/ebpf: drop dependency on cgo (#3072)
The ebpf implementations uses cgo, but only to access some C struct definitions. Instead of using cgo simply duplicate the defintion of those two structs in Go and add a test to check that the duplicate definitions remain synchronized. Fixes #2827
This commit is contained in:
committed by
GitHub
parent
6ef5284505
commit
5452c30fac
@ -41,7 +41,7 @@ GOPATH=$(pwd)/go
|
||||
export GOPATH
|
||||
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
||||
go version
|
||||
go install honnef.co/go/tools/cmd/staticcheck@2021.1.1 || true
|
||||
go install honnef.co/go/tools/cmd/staticcheck@2022.1.2 || true
|
||||
|
||||
uname -a
|
||||
echo "$PATH"
|
||||
|
||||
Reference in New Issue
Block a user