On Thu, May 08, 2025 at 05:27:20PM +0000, [email protected] wrote:
> 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?
I believe what you're looking for is the "replace" directive in the
relevant go modules, which will let you satisfy the dependency with
a local copy which you've ported to arm64.


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T875b01e7d1d3d05b-Md82a3b181d02bd17c0d2c872
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to