-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Add notes on 'build targets' on Get Started #1021
base: main
Are you sure you want to change the base?
Conversation
Hello! 👋 This repository uses Auto for releasing packages using PR labels. ✨ This PR can be merged. It will not be considered when calculating future versions of the npm packages and will not appear in the changelogs. |
|
||
List all available Mage targets for additional commands: | ||
|
||
```bash | ||
mage -l | ||
``` | ||
|
||
:::note | ||
|
||
There is a mismatch between AMD, ARM64, and the Docker container which may cause the backend Delve debugger dev env to fail to run on Apple silicon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oshirohugo can you confirm this is still the case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was improved, but it seems it still not perfect and it will only work in Apple silicon after two runs.
@jackw you worked on that, can you confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oshirohugo I'll do some testing here and get back to you. It was a while since I tried this debugger.
Either way you cannot have a mismatch between arch related things (go, dlv and docker image) as it prevents the debugger from connecting from within the container to the host.
(Draft) Add a note about a problem running builds on Apple silicon to Get Started topic; add a second example to the Mage description.
Fixes #1012