Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/bazelbuild/rules_go from 0.24.7 to 0.26.0 #2

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 15, 2021

Bumps github.com/bazelbuild/rules_go from 0.24.7 to 0.26.0.

Release notes

Sourced from github.com/bazelbuild/rules_go's releases.

v0.26.0

Changes

  • //go:embed directives are supported in Go 1.16. Patterns are matched against both static and generated files, including directory artifacts. Embeddable files must be listed in the new embedsrcs attribute. Gazelle v0.23.0 will generate these attributes automatically.
  • go_binary now provides CcInfo in the c-archive and c-shared link modes. This should let cc_library and other rules reference these targets through deps directly. Thanks @​steeve.
  • TEST_TMPDIR is no longer set to TMPDIR in tests. Thanks @​mikedanese.
  • Several small improvements in error and diagnostic output.

Compatibility

  • Bazel 3.5.0 is now required. The previous minimum version was 3.4.0.

Updated dependencies

As always, you can use higher versions of rules_go's dependencies by declaring them in WORKSPACE before calling go_rules_dependencies. Lower versions may work but are not supported.

  • platforms is updated to 0.0.4.
  • rules_cc is updated to master as of 2021-03-05.
  • org_golang_x_tools is updated to master as of 2021-03-05.
  • org_golang_google_genproto is updated to master as of 2021-03-05.
  • go_googleapis is updated to master as of 2021-03-05.

WORKSPACE code

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive( name = "io_bazel_rules_go", sha256 = "7c10271940c6bce577d51a075ae77728964db285dac0a46614a7934dc34303e6", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz", ], )

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.16")

v0.25.1

Bug fixes

  • Fixed an issue in go_test with capturing XML output when changing directories.
  • Paths in error messages are now relativized. This should reduce noise from Bazel sandbox directories. (thanks @​robfig)
  • go_local_sdk provides better error messages when Go is built for multiple platforms. (thanks @​prattmic)
  • Multiple compatibility fixes for Go 1.16beta1.

WORKSPACE code

... (truncated)

Commits
  • ddc5747 Set RULES_GO_VERSION to 0.26.0 (#2838)
  • 7c43bcc Update dependencies for v0.26 (#2837)
  • 736f4d6 Split up PIE tests. (#2833)
  • dce5805 Add ARM-64 version to go_download_sdk test. (#2832)
  • ee1740e Modify build constraints test to also work with ARM-64. (#2831)
  • caf08a7 Implement “add” and “sub” functions for ARM-64 as well. (#2830)
  • e01a4e8 go_download_sdk: work around Bazel .tar.gz extraction bug (#2836)
  • 5093917 Make go_binary expose CcInfo (#2445)
  • f2b9010 Make go_reset_target forward DefaultInfo.executable and pass go_path into it ...
  • 1976998 go: support //go:embed directives with embedsrcs attribute (#2806)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/bazelbuild/rules_go](https://github.com/bazelbuild/rules_go) from 0.24.7 to 0.26.0.
- [Release notes](https://github.com/bazelbuild/rules_go/releases)
- [Commits](bazelbuild/rules_go@v0.24.7...v0.26.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 15, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 19, 2021

Superseded by #3.

@dependabot dependabot bot closed this Mar 19, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/bazelbuild/rules_go-0.26.0 branch March 19, 2021 18:16
fweikert pushed a commit that referenced this pull request Oct 24, 2022
Suppress Apple Silicon fallback warning for commits.

Bazelisk on M1 always printed "Fallback to x86_64 because arm64 is not supported on Apple Silicon until 4.1.0" when asking for a Bazel binary built at a commit.
However, the code downloaded the ARM64 binary regardless (which was the correct behavior given that commits are very likely newer than Bazel 4.1).

This commit suppresses the warning message in this case.

Fixes bazelbuild#391
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants