When I tried making a build for executable binary using xgo for the above-mentioned repository on a given branch.
Created build over an Ubuntu machine using command sudo xgo --targets=linux/amd64,linux/arm64,darwin/amd64,darwin/arm64,windows/amd64 ./goastgen/
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
The weird observation is binary generated for drawin-amd64 is working on Mac with an M1 chip and the one generated as darwin-arm64 is not working on Mac with M1 chip
Repository - https://github.com/Privado-Inc/goastgen/tree/xgo-executable-build
When I tried making a build for executable binary using
xgo
for the above-mentioned repository on a given branch.Created build over an Ubuntu machine using command
sudo xgo --targets=linux/amd64,linux/arm64,darwin/amd64,darwin/arm64,windows/amd64 ./goastgen/
The weird observation is binary generated for
drawin-amd64
is working on Mac with an M1 chip and the one generated asdarwin-arm64
is not working on Mac with M1 chipMac machine details