Re: [go-nuts] gomobile: weird dependency on dmitri.shuralyov.com/gpu/mtl

2024-07-17 Thread 王旭东
sry, might be may fault. Sorry, that might be my fault. What you observed from the go mod why that could be related to this issue: https://github.com/golang/go/issues/27900? 在2024年7月18日星期四 UTC+8 11:36:24<王旭东> 写道: > Hi, > > It seems there might be a misunderstanding regarding the go mod why > c

Re: [go-nuts] gomobile: weird dependency on dmitri.shuralyov.com/gpu/mtl

2024-07-17 Thread 王旭东
Hi, It seems there might be a misunderstanding regarding the go mod why command. Please note that any transitive dependencies will not be displayed in the output. For instance, x/exp/shiny could be a transitive dependency of a direct dependency in your main module, which is why you see the m

Re: [go-nuts] gomobile: weird dependency on dmitri.shuralyov.com/gpu/mtl

2024-07-17 Thread 'Sean Liao' via golang-nuts
x/mobile isn't just for bindings, it also has some support for more full fledged apps, see https://pkg.go.dev/golang.org/x/mobile/app It seems natural to require some rendering support for that. - sean On Wed, Jul 17, 2024 at 4:42 PM Alvaro Crespo wrote: > > Hi! > > Sadly, "go mod why" doesn't r

Re: [go-nuts] gomobile: weird dependency on dmitri.shuralyov.com/gpu/mtl

2024-07-17 Thread Alvaro Crespo
Hi! Sadly, "go mod why" doesn't really work for gomobile ( https://cs.opensource.google/go/x/mobile) and its dependencies since they are technically not used in my library/package. They are used at build time to generate language bindings that make it possible to call Go functions from Java and Ob

Re: [go-nuts] gomobile: weird dependency on dmitri.shuralyov.com/gpu/mtl

2024-07-11 Thread Kurtis Rader
Try "go mod why $dependency"; e.g., > go mod why github.com/sourcegraph/jsonrpc2 # github.com/sourcegraph/jsonrpc2 src.elv.sh/pkg/lsp github.com/sourcegraph/jsonrpc2 There's also "go mod graph". On Thu, Jul 11, 2024 at 4:44 PM Alvaro Crespo < alvaro.andres.cre...@gmail.com> wrote: > Hi there! >

[go-nuts] gomobile: weird dependency on dmitri.shuralyov.com/gpu/mtl

2024-07-11 Thread Alvaro Crespo
Hi there! I'm not an expert go dev but I'm using https://cs.opensource.google/go/x/mobile to build a domain layer for both an Android and an iOS app. First of all, congrats on the good work. The project is amazing. I recently updated the gomobile package version and found out a strange lookin