0.50.0
0.50.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.50.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-NE2PXqlFFVnUDR4msCyI3kZtv1y1Io2MCsrlVxsdqI4=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.50.0/rules_rust-v0.50.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Delete
incompatible_no_rustc_sysroot_env
by @UebelAndre in #2790 - Use
target_flag_value
instead oftarget_triple.str
by @scentini in #2793 - Ensure proto compiler attribute is consistent in prost_toolchain by @UebelAndre in #2794
- Remove deprecated variables from
repositories.bzl
macros by @UebelAndre in #2795 - Restored bzlmod documentation. by @marvin-hansen in #2798
- Build
rust_test
targets using a crate name different from the underlying lib by @felipeamp in #2803 - Update Prost (proto) dependencies to latest versions by @UebelAndre in #2810
- Added
env_inherit
attribute torust_test
by @UebelAndre in #2809 - Revert "Build rust_test targets using a crate name different from the underlying lib" by @felipeamp in #2815
- Use
crate_name
to also matchcrate_root
. by @UebelAndre in #2824 - Moved
cargo_dep_env
into it's own file. by @UebelAndre in #2823 - Doc: update outdated parameter
output_diagnostics
by @LiXuanqi in #2813 - Update min bazel version by @scentini in #2812
- Flip
experimental_use_coverage_metadata_files
by @UebelAndre in #2830 - Consistently thread extra target constraints around by @illicitonion in #2829
- Updated docs to use mdbook by @UebelAndre in #2834
- Add s390x arch support by @Repana-Chowdappa in #2616
- rustdoc_test: Apply prefix stripping to proc_macro dependencies. by @konkers in #1952
- Minor improvements to documentation. by @UebelAndre in #2846
- Updated fetch_shas utility to use the channel manifest tomls by @UebelAndre in #2840
- Support emitting debug logs in rules_rust process wrapper. by @UebelAndre in #2845
- Prune
known_shas.bzl
to only include versions used in BazelCI by @UebelAndre in #2850 - Avoid double building
cargo_build_script.data
targets by @UebelAndre in #2826 - Use fake.rs not /dev/null as fake source file by @illicitonion in #2851
- Moved crate_universe
TreeResolver
into it's own file. by @UebelAndre in #2852 - Error on absolute src paths by @illicitonion in #2853
- Improve crate_universe debug logging for
cargo tree
parsing by @UebelAndre in #2854 - Added Rust 1.81.0 by @UebelAndre in #2841
- Update
runfiles::rlocation!
to returnOption
instead of panicing by @UebelAndre in #2847 - Release 0.50.0 by @UebelAndre in #2835
New Contributors
- @felipeamp made their first contribution in #2803
- @LiXuanqi made their first contribution in #2813
- @Repana-Chowdappa made their first contribution in #2616
Full Changelog: 0.49.3...0.50.0