James Bartlett

Results 21 comments of James Bartlett

HI @nr-pmoses, We have an implementation of this feature but the performance overhead was too significant. We are currently reevaluating our options to implement this without significant overhead. I think...

@tingilee I don't think the necessary changes have landed in bazel yet. And I think given the fact it will ignore `env` and `args` from the test target, it will...

I was just doing this, and the following worked for me: ``` repo, _ := git.PlainInit(, false) _, _ = repo.CreateRemote(&config.RemoteConfig{ Name: "origin", URLs: []string{}, }) remoteRef := "refs/heads/" or...

@fmeum That makes sense to me. I understand # 1 and # 2. I'm a little confused what you mean by a separate rule for # 3.

I have an attempt, that I can clean up and put out in the next couple days, unless your timeline is faster

Created 2 PRs (#3260, #3261) to support this use case. The first adds the `sdk_version` build flag. The second adds `go_cross`, using the added `sdk_version` flag to transition on sdk...

I changed the name to `go_cross_binary` since separate rules are necessary to support `go_binary` and `go_test` crossing. And I opened another PR for the `go_cross_test` rule #3274

`go_cross_binary` does use Bazel's `--platforms` flag. The purpose of `go_cross_binary` is to (in Bazel lingo) transition a `go_binary` rule from the default value of the `--platforms` flag to the specified...