github bazel-contrib/rules_go v0.35.0

latest releases: v0.51.0-rc1, v0.50.1, v0.50.0...
2 years ago

What's Changed

  • Add platform contraints for GOAMD64 by @fmeum in #3251
  • bzlmod: Fix after breaking change to go_deps.module by @fmeum in #3254
  • bzlmod: Check in io_bazel_rules_go -> rules_go patch for tests by @fmeum in #3262
  • Export support files needed for using Go's WebAssembly (WASM) output. by @ralimi in #3266
  • Add support for --@io_bazel_rules_go//go/toolchain:sdk_version flag. by @JamesMBartlett in #3260
  • Add support for go_binary to gopackagesdriver. by @DrewMonroe in #3271
  • migrating to rbe_preconfig by @aranguyen in #3272
  • Add go_cross_binary rule for cross-compilation. by @JamesMBartlett in #3261
  • delete duplicate return by @Abirdcfly in #3267
  • bzlmod: Use repo_name attribute on module instead of patches by @fmeum in #3279
  • Fix non_executable_test to work with @// labels by @Wyverald in #3281
  • bzlmod: Bump version to 0.34.0 by @fmeum in #3280
  • bzlmod: Add support for go_proto_library by @fmeum in #3283
  • Bumping minimal Bazel version to 5.1.0 by @linzhp in #3286
  • Getting architecture from JRE by @linzhp in #3282
  • Collect coverage for other languages by @fmeum in #3287

New Contributors

Full Changelog: v0.34.0...v0.35.0

WORKSPACE code

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

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "099a9fb96a376ccbbb7d291ed4ecbdfd42f6bc822ab77ae6f1b5cb9e914e94fa",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.35.0/rules_go-v0.35.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.35.0/rules_go-v0.35.0.zip",
    ],
)

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

go_rules_dependencies()

go_register_toolchains(version = "1.19.1")

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.