0.69.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
bazel_dep(name = "rules_rust", version = "0.69.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-u8dkwlLQYSgbI1knek1GSA4tz69yr8HObgCtpYzL/Uw=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.69.0/rules_rust-0.69.0.tar.gz"],
)Extensions
Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.69.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_bindgen",
integrity = "sha256-u8dkwlLQYSgbI1knek1GSA4tz69yr8HObgCtpYzL/Uw=",
strip_prefix = "extensions/bindgen",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.69.0/rules_rust-0.69.0.tar.gz"],
)MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.69.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_mdbook",
integrity = "sha256-u8dkwlLQYSgbI1knek1GSA4tz69yr8HObgCtpYzL/Uw=",
strip_prefix = "extensions/mdbook",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.69.0/rules_rust-0.69.0.tar.gz"],
)Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.69.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_prost",
integrity = "sha256-u8dkwlLQYSgbI1knek1GSA4tz69yr8HObgCtpYzL/Uw=",
strip_prefix = "extensions/prost",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.69.0/rules_rust-0.69.0.tar.gz"],
)Protobuf
Bzlmod
bazel_dep(name = "rules_rust_protobuf", version = "0.69.0")
register_toolchains(
"@rules_rust_pyo3//toolchains:toolchain",
"@rules_rust_pyo3//toolchains:rust_toolchain",
)WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_protobuf",
integrity = "sha256-u8dkwlLQYSgbI1knek1GSA4tz69yr8HObgCtpYzL/Uw=",
strip_prefix = "extensions/protobuf",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.69.0/rules_rust-0.69.0.tar.gz"],
)PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.69.0")Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.69.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_wasm_bindgen",
integrity = "sha256-u8dkwlLQYSgbI1knek1GSA4tz69yr8HObgCtpYzL/Uw=",
strip_prefix = "extensions/wasm_bindgen",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.69.0/rules_rust-0.69.0.tar.gz"],
)What's Changed
- Pin to bazel 8.4.2 by @illicitonion in #3804
- bindgen: remove extra trailing space in check for --rust-edition flags by @durin42 in #3799
- Do not include libraries when compiling by @hlopko in #3801
- Fix missing backtick in extensions.bzl by @mgeisler in #3806
- feat: pyo3 support module prefix + naming by @andyscott in #3726
- chore(docs): add starter repo instructions to README by @alexeagle in #3825
- Switch stamping detection to ctx.configuration.stamp_binaries() by @justinhorvitz in #3816
- Fix stamping for rules that don't have a stamp attribute by @justinhorvitz in #3829
- Add Rust 1.92.0 and 1.93.0. by @PiotrSikora in #3820
- fix: support
external_include_pathsin rust_bindgen by @lalten in #3819 - cargo_build_script: allow files for the fake tools defaults by @krasimirgg in #3822
- Make libclang attr as optional in the rust_bindgen_toolchain by @vaibhav-1207 in #3788
- [3844] Use rootpath for wrapper root for determinism by @finn-ball in #3845
- Add platform triple arm-unknown-linux-musleabi by @martin4861 in #3821
- Fix Windows CRLF Issue by @timbess in #3455
- Fix typo in module_bzl.j2 documentation by @hofbi in #3793
- Load cc symbols for bazel9 by @dzbarsky in #3789
- fix: Return repo_metadata from repository rules in rust/repositories.bzl by @mortenmj in #3855
- Add 'build_script_exec_properties' to 'crate.annotation' by @alloveras in #3852
- Add Rust 1.93.1. by @PiotrSikora in #3861
- Provide rust toolchain type in rustdoc action by @FaBrand in #3863
- Include *.rmeta files in stdlib sysroot glob by @redsun82 in #3860
- use an empty staticlib as an allocator library for cc_common.link by @krasimirgg in #3864
- Bump default version of rustc. by @UebelAndre in #3562
- Release 0.69.0 by @illicitonion in #3848
New Contributors
- @mgeisler made their first contribution in #3806
- @andyscott made their first contribution in #3726
- @justinhorvitz made their first contribution in #3816
- @martin4861 made their first contribution in #3821
- @timbess made their first contribution in #3455
- @alloveras made their first contribution in #3852
- @redsun82 made their first contribution in #3860
Full Changelog: 0.68.1...0.69.0