Re: [go-nuts] Re: Dependency hierarchy in go

2020-02-10 Thread kuznetsov . alexey
On Monday, February 10, 2020 at 1:42:34 PM UTC+3, rog wrote: > > On Fri, 7 Feb 2020 at 19:47, > wrote: > >> >> >> On Friday, February 7, 2020 at 10:35:37 PM UTC+3, Jason Phillips wrote: >>> >>> Replace only works for the top-level go.mod. From the proposal doc (link >>>

[go-nuts] Re: Dependency hierarchy in go

2020-02-07 Thread kuznetsov . alexey
On Friday, February 7, 2020 at 10:35:37 PM UTC+3, Jason Phillips wrote: > > Replace only works for the top-level go.mod. From the proposal doc (link > > ): > >> Minimal version selection gives the top-level module in th

[go-nuts] Re: Dependency hierarchy in go

2020-02-07 Thread kuznetsov . alexey
I'm I bad at explaining? Simple form: A (go.mod = require B) -> B (go.mod = require C; replace C=>C1) -> C1 'A' failed to compile because it does not see C=>C1 replace in child project. Does GO require to copy all replace commands from all child projects in main go.mod manually or is it a bug?

[go-nuts] Dependency hierarchy in go

2020-02-07 Thread kuznetsov . alexey
Hello! Project A depends on B and B depends on C. A -> B -> C. When I create fork of C = C1 with new features I will add go.mod replace command like that "replace C => C1". But when I import B in project A got missing C1 replace command in go.mod is it intended feature or bug? As result my proj

[go-nuts] Re: android armv5 build

2019-01-15 Thread kuznetsov . alexey
On Tuesday, January 15, 2019 at 4:47:16 PM UTC+3, kuznetso...@gmail.com wrote: > > Hello! Does anyone know how to compile go "hello world" binary for armv5 > processors? Mine setup fails all the time for armv5 and works on armv7. > > export TOOLCHAIN=$PWD/tools/ > > export NDK=~/Library/Android

[go-nuts] android armv5 build

2019-01-15 Thread kuznetsov . alexey
Hello! Does anyone know how to compile go "hello world" binary for armv5 processors? Mine setup fails all the time for armv5 and works on armv7. export TOOLCHAIN=$PWD/tools/ export NDK=~/Library/Android/sdk/ndk-r16b/ $NDK/build/tools/make_standalone_toolchain.py --arch arm --api 14 --install-d