Repository navigation
0.72.0
0.72.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
bazel_dep(name = "rules_rust", version = "0.72.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-A1ZcC1Yw8IZa/HCUY6J5GucUvpzi3CD56sOcnPBvk3k=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.72.0/rules_rust-0.72.0.tar.gz"],
)Extensions
Bindgen
bazel_dep(name = "rules_rust_bindgen", version = "0.72.0")MdBook
bazel_dep(name = "rules_rust_mdbook", version = "0.72.0")Prost
bazel_dep(name = "rules_rust_prost", version = "0.72.0")PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.72.0")Wasm-Bindgen
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.72.0")What's Changed
- add a mnemonic to a cargo dep env action by @krasimirgg in #4123
- fix: prefix pwd for imacros flag by @gl3nnleblanc in #4116
- rustc: add support for split debuginfo by @slackito in #4092
- Tolerate partial build failures during rust-analyzer discovery by @mgeisler in #4127
- Fix Clippy errors from #4127 by @mgeisler in #4129
- fix: declare rustfmt aspect action toolchain by @keegancsmith in #4128
- Fix unresolved
${out_dir}token in dep env files by @basvandijk in #4124 - Fixes BEP path handling for rust analyzer specs by @csmulhern in #4130
- Fix rust-analyzer selecting the wrong proc-macro cfg by @UebelAndre in #4137
- Add jsonc support for rust-analyzer setup by @UebelAndre in #4126
- Fix rust-analyzer proc-macro merge for k8-opt-exec paths by @TrapsterDK in #4140
- Return repo_metadata from repository rules by @keith in #4146
- Add rust-analyzer clippy end-to-end test by @alexconrey in #4147
- Added Rust 1.97.0 by @UebelAndre in #4144
- Move flags passed in
rust_flagsnear the end of the rustc invocation. by @slackito in #4135 - Add lint test rules for transitive targets by @alexconrey in #4156
- Added Rust 1.97.1 by @UebelAndre in #4155
- Point CARGO_MANIFEST_DIR to transformed sources dir by @sin-ack in #4154
- Reexport output groups for rustfmt and clippy tests by @alexconrey in #4158
- Add
root_pathattribute for directory crate roots by @krasimirgg in #4142 - Fix NoneType error in rustdoc by @UebelAndre in #4159
- add a docstring for _get_crate_root_path (no functional changes intended) by @krasimirgg in #4162
- deprecate force_all_deps_direct in favor of extra_named_deps by @krasimirgg in #4160
- Add
cargo_build_script.use_cc_toolchainby @UebelAndre in #4161 - Handle PIC/NOPIC correctly in establish_cc_info by @jakos-sec in #4131
- Add
RunfilesBuilderto runfiles by @UebelAndre in #4170 - Fix crate_universe deps interface by @UebelAndre in #4134
- Propagate wasm runfiles by @UebelAndre in #4168
- Avoid force excluding
bazel-*in vscode by @UebelAndre in #4169 - crate_universe: move build-script dep to extra_deps by @ashi009 in #4090
- Respect
--instrumentation_filerfor Rust coverage by @UebelAndre in #4173 - Release 0.72.0 by @UebelAndre in #4171
New Contributors
- @gl3nnleblanc made their first contribution in #4116
- @keegancsmith made their first contribution in #4128
- @basvandijk made their first contribution in #4124
- @TrapsterDK made their first contribution in #4140
- @alexconrey made their first contribution in #4147
- @sin-ack made their first contribution in #4154
- @jakos-sec made their first contribution in #4131
- @ashi009 made their first contribution in #4090
Full Changelog: 0.71.3...0.72.0