Skip to content

0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jul 16:47
· 942 commits to main since this release
389c58f

0.7.0

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    sha256 = "7fb9b4fe1a6fb4341bdf7c623e619460ecc0f52d5061cc56abc750111fba8a87",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.7.0/rules_rust-v0.7.0.tar.gz"],
)

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

What's Changed

  • Add a cargo_dep_env rule for setting build.rs environment variables by @bsilver8192 in #1415
  • Bump the min supported bazel version by @mypmc in #1414
  • Add test coverage support by @keith in #1324
  • Added TemplateVariableInfo to rust_toolchain. by @UebelAndre in #1416
  • Updated attr.label attribute defaults to use Label constructor by @UebelAndre in #1422
  • crate_universe support for individually updating packages. by @UebelAndre in #1426
  • Fixed crate_universe not finding target library names for "rlib"s by @UebelAndre in #1429
  • Added Rust 1.62.0 by @UebelAndre in #1427
  • Do not attempt to instrument rust code for coverage if rust_toolchain.llvm-cov is None by @krasimirgg in #1432
  • update crate_universe --repin args to not require values. by @UebelAndre in #1433
  • Updated crate_universe version to 0.4.0. by @UebelAndre in #1435
  • Have rust_test put its compilation outputs in a subdirectory by @scentini in #1434
  • exclude BUILD and WORKSPACE files from generated crate_universe targets by @UebelAndre in #1437
  • Updated rules_rust to version 0.7.0. by @UebelAndre in #1436

Full Changelog: 0.6.0...0.7.0