Open ErKiran opened 2 years ago
When I build my project using GOOS=linux GOARCH=amd64 it gives me error `# nepse-backend/utils utils/utils.go:159:12: undefined: wasmer.NewEngine
utils/utils.go:160:11: undefined: wasmer.NewStore utils/utils.go:162:15: undefined: wasmer.NewModule utils/utils.go:164:18: undefined: wasmer.NewImportObject utils/utils.go:165:17: undefined: wasmer.NewInstance`
But I can build my project on my default machine with No Issue. I am building my project on Mac M1. Also, I can build it GOOS=darwin GOARCH=amd64 go build .
same here, i am just run the simplest demo in windows
Summary
When I build my project using GOOS=linux GOARCH=amd64 it gives me error `# nepse-backend/utils
utils/utils.go:159:12: undefined: wasmer.NewEngine
utils/utils.go:160:11: undefined: wasmer.NewStore
utils/utils.go:162:15: undefined: wasmer.NewModule
utils/utils.go:164:18: undefined: wasmer.NewImportObject
utils/utils.go:165:17: undefined: wasmer.NewInstance`
But I can build my project on my default machine with No Issue. I am building my project on Mac M1. Also, I can build it GOOS=darwin GOARCH=amd64 go build .