0.64.0
0.64.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
bazel_dep(name = "rules_rust", version = "0.64.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-2GH766nwQzOgrmnkSO6D1pF/JC3bt/41xo/CEqarpUY=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.64.0/rules_rust-0.64.0.tar.gz"],
)Extensions
Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.64.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_bindgen",
integrity = "sha256-2GH766nwQzOgrmnkSO6D1pF/JC3bt/41xo/CEqarpUY=",
strip_prefix = "extensions/bindgen",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.64.0/rules_rust-0.64.0.tar.gz"],
)MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.64.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_mdbook",
integrity = "sha256-2GH766nwQzOgrmnkSO6D1pF/JC3bt/41xo/CEqarpUY=",
strip_prefix = "extensions/mdbook",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.64.0/rules_rust-0.64.0.tar.gz"],
)Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.64.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_prost",
integrity = "sha256-2GH766nwQzOgrmnkSO6D1pF/JC3bt/41xo/CEqarpUY=",
strip_prefix = "extensions/prost",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.64.0/rules_rust-0.64.0.tar.gz"],
)Protobuf
Bzlmod
bazel_dep(name = "rules_rust_protobuf", version = "0.64.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_protobuf",
integrity = "sha256-2GH766nwQzOgrmnkSO6D1pF/JC3bt/41xo/CEqarpUY=",
strip_prefix = "extensions/protobuf",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.64.0/rules_rust-0.64.0.tar.gz"],
)Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.64.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_wasm_bindgen",
integrity = "sha256-2GH766nwQzOgrmnkSO6D1pF/JC3bt/41xo/CEqarpUY=",
strip_prefix = "extensions/wasm_bindgen",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.64.0/rules_rust-0.64.0.tar.gz"],
)What's Changed
- feat: Add WASI Preview 2 support and enhanced target coverage by @avrabe in #3507
- Fix link to example in extensions.bzl by @jemoster in #3537
- Do not use
runfiles.collect_databy @hlopko in #3531 - Bump various bzlmod dependencies by @UebelAndre in #3534
- Add known shas for wasip2 target by @cameron-martin in #3539
- Add buildifier hook by @hofbi in #3529
- Allow setting timeout for cargo-bazel. by @sardok in #3485
- Fix typos in crate universe folder by @hofbi in #3516
- migrate prettier into pre-commit by @hofbi in #3517
- Use pre-commit github action by @hofbi in #3530
- Fix typos in nix and test by @hofbi in #3554
- rust_toolchain: support location-expansion in extra_exec_rustc_flags by @krasimirgg in #3540
- Add support for extra rustc environment variables by @nmattia in #3510
- Adding select statements for build script environment and data attributes in bzlmod by @finn-ball in #3511
- Add
//tools/upstream_wrapper:rustdocby @lukasoyen in #3561 - Add Rust 1.89.0 by @nmattia in #3560
- Bring strip_level configuration up to top level by @Bownairo in #3434
- Add setting
always_enable_metadata_output_groupsby @refi64 in #3524 - Add setting
clippy_output_diagnosticsto matchrustc_output_[...]by @refi64 in #3528 - Flip default for
incompatible_change_clippy_error_formatto true. by @martinboehme in #3574 - Build and upload s390x-unknown-linux-gnu crate_universe binary to releases by @jonathan-albrecht-ibm in #3462
- Fix typos in rust tools and util by @hofbi in #3577
- Use ctx.watch properly for crate_universe by @dzbarsky in #3569
- Fix NoneType exception for interface dependencies. by @UebelAndre in #3563
- Add libLLVM to coverage runfiles by @mortenmj in #3546
- Fix typos in extensions by @hofbi in #3578
- Add riscv64gc-unknown-linux-gnu to tier 2 targets. by @anp in #3487
- Support rustdoc_flags parameter for rust_doc_test similar to rust_doc by @max-heller in #3543
- Fix document for crate_universe by @powei-lin in #3550
- Support crate_features in rust_doc() and rust_doc_test() by @max-heller in #3544
- Fix bazel formatting by @nmattia in #3583
- Speedup manifest splicing by removing workspace discovery logic by @dzbarsky in #3570
- Improve concurrency control for cargo_tree_resolver by @dzbarsky in #3580
- Include transitive out_dirs in linking action by @illicitonion in #3579
- Fix typos in examples by @hofbi in #3585
- Release 0.64.0 by @nmattia in #3582
New Contributors
- @avrabe made their first contribution in #3507
- @jemoster made their first contribution in #3537
- @sardok made their first contribution in #3485
- @lukasoyen made their first contribution in #3561
- @Bownairo made their first contribution in #3434
- @refi64 made their first contribution in #3524
- @jonathan-albrecht-ibm made their first contribution in #3462
- @mortenmj made their first contribution in #3546
- @anp made their first contribution in #3487
- @powei-lin made their first contribution in #3550
Full Changelog: 0.63.0...0.64.0