You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I was trying to implement this DB myself for learning purpose , while running the code for asynchronous TCP server started facing issues because of the syscalls being used as the machine i am using for development is a mac with M1 chip which uses darwin OS and arm ARCH.
explored a little about this and for development was able to set this flag in my vs code settings.json
"go.toolsEnvVars": {
"GOOS": "linux"
}
so the IDE started recognising the flags for development , but i am still facing issues with compilation and running the app on local, have tried created the build with GOOS=linux go build <path to main.go> but on running the binary getting exec format error: ./out/diceDB
can anyone help me how to get pass this for local development? any sort's of help / suggestion is appreciated
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey I was trying to implement this DB myself for learning purpose , while running the code for asynchronous TCP server started facing issues because of the syscalls being used as the machine i am using for development is a mac with M1 chip which uses darwin OS and arm ARCH.
explored a little about this and for development was able to set this flag in my vs code settings.json
so the IDE started recognising the flags for development , but i am still facing issues with compilation and running the app on local, have tried created the build with
GOOS=linux go build <path to main.go>
but on running the binary gettingexec format error: ./out/diceDB
can anyone help me how to get pass this for local development? any sort's of help / suggestion is appreciated
Beta Was this translation helpful? Give feedback.
All reactions