This repository was archived by the owner on Jun 23, 2025. It is now read-only.
facing issue with cross platform build #111
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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