0.74.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
bazel_dep(name = "rules_rust", version = "0.74.0")Extensions
Bindgen
bazel_dep(name = "rules_rust_bindgen", version = "0.74.0")MdBook
bazel_dep(name = "rules_rust_mdbook", version = "0.74.0")Prost
bazel_dep(name = "rules_rust_prost", version = "0.74.0")PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.74.0")Wasm-Bindgen
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.74.0")What's Changed
- Fix release notes by @UebelAndre in #4174
- Check for nightly toolchain when enabling split debug info. by @slackito in #4186
- Include link_deps in Rust runfiles by @finn-ball in #4204
- Fixes lockfile checksum for non-root repo by @mathetake in #3866
- Upgrade
cargo-lockfrom v10 to v11 by @Silic0nS0ldier in #4228 - Fix Windows GNU staticlib output naming by @cerisier in #4231
- Fix rust_bindgen's clang include path and dep wiring by @AustinSchuh in #4218
- fix(rustdoc): link doc tests against the cc_toolchain's runtime libs by @marvin-hansen in #4220
- Preserve native final-link requirements through rust_static_library by @cerisier in #4232
- Updated granularity of docs summary by @UebelAndre in #4195
- Add RISC-V Linux host toolchain support by @Xeonacid in #4237
- [crate_universe] Implemented logic for having splicer follow .bazelignore by @rdelfin in #4219
- fix: prefix pwd for compiler response file paths by @KirillTim in #4216
- Ignore existing buildifier configs for crate_universe vendoring by @UebelAndre in #4205
- Add support for Rust ABI dynamic libraries by @buntonj in #4179
- Fix aliased crate handling in aliases attribute by @ashi009 in #3693
- use crate_info.owner for linker inputs, if available by @krasimirgg in #4177
- Support passing args to rustfmt by @UebelAndre in #4241
- Support
root_pathattribute incargo_build_scriptby @krasimirgg in #4243 - Add additional tests for aliases attribute by @UebelAndre in #4242
- Derive
dlltoolpath from the linker for Windows-GNU builds by @rdesgroppes in #4206 - Added Rust 1.98.0 by @UebelAndre in #4244
- fix external crate paths for gen_rust_project by @fee1-dead in #4200
- Don't delete CARGO_MANIFEST_DIR entries that shadow execroot entries by @HackAttack in #4236
- Fix rust-analyzer helix config by @UebelAndre in #4199
- Fix clang-cl paths in Cargo build script flags by @cerisier in #4247
- rust_bindgen_library: forward more attributes by @mhils in #4246
- Fix broken links to rust-analyzer docs by @tyler-breisacher-zipline in #4190
- Reduce size of cargo-bazel-lock.json by @UebelAndre in #4133
- Remap the exec root out of build script rustflags by @cpcwood in #4202
- flycheck: Fix label for source file by @tyler-breisacher-zipline in #4238
- Fix custom build script override key names by @alivenets in #4226
- Release 0.74.0 by @UebelAndre in #4245
New Contributors
- @mathetake made their first contribution in #3866
- @Silic0nS0ldier made their first contribution in #4228
- @AustinSchuh made their first contribution in #4218
- @Xeonacid made their first contribution in #4237
- @rdelfin made their first contribution in #4219
- @KirillTim made their first contribution in #4216
- @buntonj made their first contribution in #4179
- @fee1-dead made their first contribution in #4200
- @mhils made their first contribution in #4246
- @tyler-breisacher-zipline made their first contribution in #4190
- @cpcwood made their first contribution in #4202
- @alivenets made their first contribution in #4226
Full Changelog: 0.73.0...0.74.0