Skip to content

Commit

Permalink
enable CGO
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoCaso committed Apr 17, 2024
1 parent 45a28d9 commit 289b74b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cmd/serverless/dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ github.com/DataDog/datadog-agent/pkg/util/tmplvar
github.com/DataDog/datadog-agent/pkg/version
github.com/DataDog/datadog-go/v5/statsd
github.com/DataDog/go-libddwaf/v2
github.com/DataDog/go-libddwaf/v2/internal/lib
github.com/DataDog/go-libddwaf/v2/internal/log
github.com/DataDog/go-libddwaf/v2/internal/noopfree
github.com/DataDog/go-sqllexer
github.com/DataDog/go-tuf/client
Expand Down Expand Up @@ -394,6 +396,9 @@ github.com/coreos/go-systemd/v22/dbus
github.com/davecgh/go-spew/spew
github.com/docker/go-units
github.com/dustin/go-humanize
github.com/ebitengine/purego
github.com/ebitengine/purego/internal/cgo
github.com/ebitengine/purego/internal/strings
github.com/fatih/color
github.com/fsnotify/fsnotify
github.com/go-logr/logr
Expand Down Expand Up @@ -819,6 +824,7 @@ reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/internal/atomic
runtime/internal/math
Expand Down
2 changes: 1 addition & 1 deletion cmd/serverless/dependency_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

const erroMsg = `
The dependencies.txt file is out of date. Please run: GOOS=linux go list -f '{{join .Deps "\n"}}' -tags serverless github.com/DataDog/datadog-agent/cmd/serverless > cmd/serverless/dependencies.txt to update it
The dependencies.txt file is out of date. Please run: CGO_ENABLED=1 GOOS=linux go list -f '{{join .Deps "\n"}}' -tags serverless github.com/DataDog/datadog-agent/cmd/serverless > cmd/serverless/dependencies.txt to update it
`

func buildDependencyList() (string, error) {
Expand Down

0 comments on commit 289b74b

Please sign in to comment.