Skip to content

Tags: bazel-contrib/rules_go

Tags

v0.61.1

Toggle v0.61.1's commit message
Update Gazelle to 0.51.3

v0.61.0

Toggle v0.61.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add loongarch64 support (#4610)

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

It matches GOARCH loong64 to something so that rules_go would work on
LoongArch.

Which issues(s) does this PR fix?

#4609

v0.60.0

Toggle v0.60.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revert "Issue 1486: cgo: fix C++ dynamic initialization of static var…

…iables when using alwayslink = True (#4438)" (#4551)

This reverts commit 20f7e2b as it
causes a regression (see #4548)

v0.59.0

Toggle v0.59.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add missing load statements (#4508)

This is required for compatibility with bazel @ HEAD. Done with:
`buildifier --lint=fix -r .`

v0.58.3

Toggle v0.58.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Bazel to 7.7.0 (#4492)

**What type of PR is this?**

Dep update

**What does this PR do? Why is it needed?**

**Which issues(s) does this PR fix?**

Fixes #

**Other notes for review**

v0.58.2

Toggle v0.58.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
.bazelci/presubmit.yml: run BCR tests with multiple Bazel versions (#…

…4490)

**What type of PR is this?**

> Test

**What does this PR do? Why is it needed?**

On presubmit, run the BCR test with multiple Bazel versions. This helps
us
catch issues before a release.

**Which issues(s) does this PR fix?**

n/a

**Other notes for review**

v0.58.1

Toggle v0.58.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix pure mode detection (#4470)

**What type of PR is this?**

Bug fix

**What does this PR do? Why is it needed?**

* `go_proto_library`, `nogo`, and `stdlib` may use cgo and thus need the
relevant attributes to detect the availability of a C++ toolchain.
* All rules should continue to use a pure build if the `pure` flag is
turned off or the toolchain turns off cgo via a constraint.

**Which issues(s) does this PR fix?**

Fixes #4447

**Other notes for review**

v0.58.0

Toggle v0.58.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix pure mode detection (#4470)

**What type of PR is this?**

Bug fix

**What does this PR do? Why is it needed?**

* `go_proto_library`, `nogo`, and `stdlib` may use cgo and thus need the
relevant attributes to detect the availability of a C++ toolchain.
* All rules should continue to use a pure build if the `pure` flag is
turned off or the toolchain turns off cgo via a constraint.

**Which issues(s) does this PR fix?**

Fixes #4447

**Other notes for review**

v0.57.0

Toggle v0.57.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Find runfiles when a binary is executed from PATH (#4426)

**What type of PR is this?**

Feature

**What does this PR do? Why is it needed?**

**Which issues(s) does this PR fix?**

**Other notes for review**


https://bazelbuild.slack.com/archives/CDBP88Z0D/p1751654245992999?thread_ts=1751654245.992999&cid=CDBP88Z0D

v0.56.1

Toggle v0.56.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Drop compatibility with 6.0.0 (#4411)

**What type of PR is this?**

Cleanup

**What does this PR do? Why is it needed?**

Simplify C++ toolchain handling by requiring at least Bazel 6.1.0. This
will be used in future PRs to implement proper, exec-platform aware
resolution for the combination of Go and (optional) C++ toolchain.

**Which issues(s) does this PR fix?**

**Other notes for review**