could you use go mod 'replace' to provide a local stub? On Thu, May 8, 2025 at 10:41 AM <[email protected]> wrote: > > I know that currently golang doesn't support plan9/arm64, and maybe wont > support it in the future. > And someone already made a port of golang to plan9/arm64 at here: > https://github.com/psilva261/go-arm64.plan9 > I already successfully built and installed it on 9front/arm64 on my rpi. > (using a linux machine to get a bootstrap for go plan9/arm64, and then copy > it to rpi, build the full golang toolchain there.) > I confirmed that this port of golang can compile some simple projects and the > golang compiler correctly. > However I encountered a problem: > Some go projects may import the package 'golang.org/x/sys', , which caused > the go compiler to fetch the upstream source code, and fails to compile due > to the lack of plan9/arm64 in upstream. > Does anyone know any workarounds? > 9fans / 9fans / see discussions + participants + delivery options Permalink
------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T875b01e7d1d3d05b-M29b0985226b0dae230337f9a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
