0.18.0
0.18.0
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "2466e5b2514772e84f9009010797b9cd4b51c1e6445bbd5b5e24848d90e6fb2e",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.18.0/rules_rust-v0.18.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Breaking Changes
rust_toolchain.target_json
changed from a label to a string. Users can either move their existing json files into Starlark dicts or convert the sources on the fly with a repository rule (an example can be found in #1810)
What's Changed
- Unify functions for computing constraint values for platform triple abi by @UebelAndre in #1805
- Updated platform triple values from strings to structs ("triple") by @UebelAndre in #1804
- Convert
rust_toolchain
attrsexec_triple
andtarget_triple
to structs by @UebelAndre in #1808 - Delete
rust_toolchain.rusrc_srcs
by @UebelAndre in #1807 - Disable job in CI to avoid infrastructure failure. by @UebelAndre in #1816
- Added tests for the
triple
constructor by @UebelAndre in #1811 - Use correct dynamic link args fro proc-macro crates by @konkers in #1803
- support
resolver = "2"
target-specific features by @wmatthews-google in #1710 - Updated
rust_toolchain.target_json
to take encoded json strings by @UebelAndre in #1810 - Use env method recently added to cargo_metadata by @illicitonion in #1813
- Fixes resolver issue with root packages and another dependency format by @Dig-Doug in #1819
- Encapsulate running cargo into a struct by @illicitonion in #1815
- Instructions on how to perform
rustfmt
check (#1822) by @fmorency in #1823 - Added update known shas to include T1-T2 triples by @UebelAndre in #1824
- Various cleanups by @UebelAndre in #1828
- Updated rules_rust to version 0.18.0 by @UebelAndre in #1829
New Contributors
Full Changelog: 0.17.0...0.18.0