0.38.0
0.38.0
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-ZQGWDD5NoySV0eEAfe0HaaU0yxlcMN6jaqVPnYo/A2E=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.38.0/rules_rust-v0.38.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Switch from
sha256
tointegrity
in release notes by @dtolnay in #2389 - Support third party crates with bzlmod by @matts1 in #1910
- Replaced multiple usages of
String
withLabel
. by @rickvanprim in #2363 - Fix missing .wasm output for rust_wasm_bindgen by @alexkirsz in #2396
- Stringify annotation labels by @illicitonion in #2394
- Fix name of toolchain repo by @illicitonion in #2395
- Advertise CcInfo provider on rules by @cameron-martin in #2126
- Add test for query and cquery in the repo by @illicitonion in #2398
- Change default Rust distribution downloads from .tar.gz to .tar.xz by @dtolnay in #2399
- Add annotation support for transient crates. by @matts1 in #2392
- Allow
RustBindgen
action to get--gcc-toolchain
from cc toolchains by @UebelAndre in #2400 - Minor cleanup of prost rules by @UebelAndre in #2397
- Fix the patch_tool annotation. by @matts1 in #2404
- Fix #2402: use
get_lib_name_default(lib)
instead oflib.owner.name
. by @thb-sb in #2405 - Fix #2406: use codegen option
link-args
to forwarduser_link_flags
in bindgen. by @thb-sb in #2407 - Nix Example updated
rules_nixpkgs
version and removed CI workaround. by @rickvanprim in #2409 - Prep for 0.37.0 by @illicitonion in #2403
- Use # not / as a sed escape character by @illicitonion in #2412
- Drop import macro by @scentini in #2411
- Fix rustfmt toolchains when consuming rules_rust with bzlmod. by @jondo2010 in #2410
- Provide a better error message when trying to generate rust-project.json by @jondo2010 in #2196
- Update android example to use Starlark version of android_ndk_repository by @daivinhtran in #2417
- Allow ~ in repository names by @illicitonion in #2427
- Prepare rust rules for Starlark CcToolchainInfo. by @buildbreaker2021 in #2424
- Update rules_apple by @illicitonion in #2436
- Prep 0.38.0 release by @illicitonion in #2437
New Contributors
- @buildbreaker2021 made their first contribution in #2424
Full Changelog: 0.36.2...0.38.0