Repository navigation
0.75.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
bazel_dep(name = "rules_rust", version = "0.75.0")Extensions
Bindgen
bazel_dep(name = "rules_rust_bindgen", version = "0.75.0")MdBook
bazel_dep(name = "rules_rust_mdbook", version = "0.75.0")Prost
bazel_dep(name = "rules_rust_prost", version = "0.75.0")PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.75.0")Wasm-Bindgen
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.75.0")What's Changed
- Add regression testing for override_target annotations by @UebelAndre in #4248
- Remove use of run_shell by @UebelAndre in #4252
- Allow lint configuration on PyO3 extensions by @mkanat in #4256
- Move off deprecated grep-includes alias by @keith in #4259
- Remove unused _grep_includes attribute by @keith in #4261
- feat(mdbook): allow default configuration by @tomatotomata in #4207
- Move coverage tooling to
//rust/coverageby @UebelAndre in #4257 - Prevent bindgen from filtering "-O..." flags. by @slackito in #4269
- rust: build lint runners for the test execution platform by @jrandolf in #4278
- Added Rust 1.98.1 by @u9g in #4280
- Build the coverage collector for the test execution platform by @jrandolf in #4273
- Set the Apple deployment target for rustc from the linker args by @drakeo338 in #4282
- Honor build-script execution constraints in compilation and run actions by @jrandolf in #4270
- Fix rust_analyzer_proc_macro_srv on Windows by setting PATH in launcher by @PJB3005 in #4286
- Add support for riscv64gc-unknown-fuchsia by @jayzhuang in #4294
- Support
cc_libtargets that only provide a dynamic library by @backtr4ce in #4249 - rustdoc: align the doctest runner with the test platform by @jrandolf in #4279
- Map all generated input roots into legacy doctest runfiles by @jrandolf in #4271
- rustdoc: preserve the test invocation environment by @jrandolf in #4277
- cargo: apply explicit lint config to build scripts by @jrandolf in #4275
- Preserve runtime files for compiled doctests by @jrandolf in #4272
- Disable link_deps warning for proc macros by @slackito in #4308
- cargo: propagate target-scoped build-script linker arguments by @jrandolf in #4304
- rust: include macOS LLVM runtime libraries by @jrandolf in #4303
- Order rust lints before clippy lints to allow ignoring unknown lints by @erickt in #4030
- Catch unrecognized processor warnings from LLVM by @schachmat in #4316
- Automatically assign needs-triage label by @inzombieack in #4318
- Normalize Clang forwarded system header paths by @cerisier in #4321
- Provide defaults for optional CrateInfo fields in _create_crate_info by @inzombieack in #4322
- Change cfg default from depset to list by @inzombieack in #4324
- Add a dlltool attribute to rust_toolchain by @chouquette in #4330
- rust_bindgen_library: support cc_lib targets with only a dynamic library by @backtr4ce in #4251
- toolchains: add
*_toolchain_aliasrules by @UebelAndre in #4335 - Export rust_lto_flag from //rust:defs.bzl by @dimorinny in #4338
- Support Windows Python import libraries in the PyO3 toolchain by @mkanat in #4341
- don't pass link_deps to py_pyo3_library by @comicfans in #4334
- Add loongarch64 host toolchain support by @Chris-wh233 in #4150
- Don't link libresolv by default on Darwin/MacOS by @Zer0-One in #4326
- Add a Cargo toolchain by @UebelAndre in #4339
- Resolve the C++ toolchain through rules_cc by @UebelAndre in #4347
- Added Rust 1.99.1 by @UebelAndre in #4311
- Update end-of-life CI runners by @UebelAndre in #4343
- Release 0.75.0 by @UebelAndre in #4340
New Contributors
- @mkanat made their first contribution in #4256
- @tomatotomata made their first contribution in #4207
- @jrandolf made their first contribution in #4278
- @u9g made their first contribution in #4280
- @drakeo338 made their first contribution in #4282
- @PJB3005 made their first contribution in #4286
- @backtr4ce made their first contribution in #4249
- @erickt made their first contribution in #4030
- @schachmat made their first contribution in #4316
- @inzombieack made their first contribution in #4318
- @chouquette made their first contribution in #4330
- @dimorinny made their first contribution in #4338
- @comicfans made their first contribution in #4334
- @Chris-wh233 made their first contribution in #4150
- @Zer0-One made their first contribution in #4326
Full Changelog: 0.74.0...0.75.0