Breaking changes
Starting this release, rules_go requires Bazel 5.3 and golang/x/tools at least 0.3.0. If you are using stardoc, you also need to upgrade it to 0.5.3 to recognize RunEnvironmentInfo
, which is used in this release.
Major new features
This is the first release to support Go 1.20. When on this version of Go, it is highly recommended to use Bazel 6 and set --experimental_output_directory_naming_scheme=diff_against_baseline
to prevent certain unnecessary rebuilds.
What's Changed
- preserve intermediate files if
-work
is specified by @motiejus in #3389 - Adapt
lcov_coverage_test
toexec.Command
change by @fmeum in #3392 - explicitly build relative path for Tool command in lcov_coverage_test by @matloob in #3399
- Add support for building with boringcrypto by @matloob in #3398
- Generalize
boringcrypto
toGOEXPERIMENT
support by @fmeum in #3401 - Replace
cfg = "host"
withcfg = "exec"
by @fmeum in #3404 - always produce .a files at the beginning of a build by @matloob in #3385
- Mark
nogo
targets asmanual
to keep top-level symlinks by @fmeum in #3410 - Refactoring the extld related logic by @linzhp in #3400
- Fix incompatible flags not applied to integration tests by @fmeum in #3415
- chore: remove experimental warning from bzlmod module by @alexeagle in #3418
- Add a clarifying error about dependency cycle found for internal tests by @yushan26 in #3422
- Do not use exec paths for rundir by @fmeum in #3414
- Upgrade org_golang_x_tools to 0.5.0 by @linzhp in #3356
- fix: Relative path of embedsrc by @bakjos in #3407
- Add support for env_inherit by @ttpathan in #3256
- Update stardoc to 0.5.3 by @fmeum in #3427
- Add
env
attribute togo_binary
by @fmeum in #3428
New Contributors
- @matloob made their first contribution in #3399
- @yushan26 made their first contribution in #3422
- @bakjos made their first contribution in #3407
- @ttpathan made their first contribution in #3256
Full Changelog: v0.37.0...v0.38.0