Fabian Meumertzheim

Results 1692 comments of Fabian Meumertzheim

Could you explain how this relates to https://github.com/bazelbuild/rules_go/pull/3661, which I thought had fixed this issue? Sorry, I'm not very familiar with how the vanilla Go toolchain handles cgo.

I think that you need to depend on `@com_google_cloud_go_storage//:storage` instead since the `storage` subdirectory of the repo is its own Go module. I would recommend switching to Bzlmod, which did...

Instead of `__main__`, you can also use the name of your main workspace or module (depending on whether you use Bzlmod). Bazel's runfiles layout doesn't guarantee that the files under...

> I see that [*runfiles.Runfiles implements fs.FS](https://pkg.go.dev/github.com/bazelbuild/rules_go/go/runfiles#Runfiles.Open), but under the hood, [that's just calling r.Rlocation](https://github.com/bazelbuild/rules_go/blob/e2f0ae6da038baa63ae46ca3e9df15aad6d5fa53/go/runfiles/fs.go#L33). Yep, that's exactly the problem: A fully featured `fs.FS` implementation would also implement https://pkg.go.dev/io/fs#ReadDirFS and...

Thanks, slow tests are a pain. The failing test suggests that there could be some issue related to flags changing between `build` and `config` or another command. `bazel config` just...

Are you certain that you aren't picking up an old version of rules_go from a dependency? Could you perhaps share a reproducer?

We want the default SDK version to be deterministic, but that also means that bumping it requires a new Go release. If you really always want to use the latest...

I am a huge fan of this and will try to work on it in early April unless someone gets to it earlier. Cc @linzhp

@thesayyn I tried using rules_java with `--incompatible_enable_proto_toolchain_resolution`, but it fails to find a `proto_lang_toolchain` for Java even with Bazel@HEAD. Do you know what's needed to get this to work?

CC @tyler-french @andersbach-dp You should be able to work around this by adding your own repository for gomock in WORKSPACE before invoking `rules_go`'s dependency macro. In the mid- to long-term,...