diff --git a/Makefile b/Makefile index 262f18c0e..f7715a40b 100644 --- a/Makefile +++ b/Makefile @@ -102,7 +102,7 @@ build: get $(BINDIR)/$(BINNAME) ## Build go code @printf "\033[32m-------------------------------------\n BUILD SUCCESS\n-------------------------------------\033[0m\n" $(BINDIR)/$(BINNAME): $(SRC) $(ASSETS) $(WEB_ASSETS) - CGO_ENABLED=0 go build -ldflags '$(LDFLAGS)' -o $(BINDIR)/$(BINNAME) . + CGO_ENABLED=1 go build -ldflags '$(LDFLAGS)' -o $(BINDIR)/$(BINNAME) . mkdir -p $(GOPATH)/bin/ cp $(BINDIR)/$(BINNAME) $(GOPATH)/bin/ diff --git a/go.mod b/go.mod index cd3709255..f140ca795 100644 --- a/go.mod +++ b/go.mod @@ -184,6 +184,7 @@ require ( github.com/robfig/cron v1.2.0 // indirect github.com/russross/blackfriday v1.6.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/second-state/WasmEdge-go v0.13.0 // indirect github.com/sergi/go-diff v1.2.0 // indirect github.com/spf13/afero v1.8.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect diff --git a/go.sum b/go.sum index b929b5dc7..7d4e2a680 100644 --- a/go.sum +++ b/go.sum @@ -1770,6 +1770,8 @@ github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24 github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= +github.com/second-state/WasmEdge-go v0.13.0 h1:lCirXbSeqqvLLI67e330+F65EhkbvtAi7/ib913+sMs= +github.com/second-state/WasmEdge-go v0.13.0/go.mod h1:HyBf9hVj1sRAjklsjc1Yvs9b5RcmthPG9z99dY78TKg= github.com/securego/gosec v0.0.0-20200103095621-79fbf3af8d83/go.mod h1:vvbZ2Ae7AzSq3/kywjUDxSNq2SJ27RxCz2un0H3ePqE= github.com/securego/gosec v0.0.0-20200401082031-e946c8c39989/go.mod h1:i9l/TNj+yDFh9SZXUTvspXTjbFXgZGP/UvhU1S65A4A= github.com/securego/gosec/v2 v2.3.0/go.mod h1:UzeVyUXbxukhLeHKV3VVqo7HdoQR9MrRfFmZYotn8ME=