Releases: bazelbuild/rules_rust
0.53.0
0.53.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.53.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-heIBNyerJvsiq9/+SyrAwnotW2KWFnumPY9uExQPUfk=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.53.0/rules_rust-v0.53.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Add target specific rustc_flags last to the command line by @erenon in #2927
- cargo_build_script: add some tests for the cc_args_and_env processing by @krasimirgg in #2931
- Update
BUILD.bazel
location by @emmanuel-ferdman in #2937 - Update wasm_bindgen to non-deprecated rules_js API by @dzbarsky in #2934
- cargo_build_script: Add support for
-fsanitize-ignorelist=
by @vitalybuka in #2935 - cargo_build_script: Add regression test for revert #2925 by @vitalybuka in #2936
- [Prost] Remove extra generated modules and opt-in to transitively including deps by @freeformstu in #2943
- gen_rust_project: optimize aquery with many targets by @TheLortex in #2941
- Release version 53.0 by @freeformstu in #2949
New Contributors
- @erenon made their first contribution in #2927
- @emmanuel-ferdman made their first contribution in #2937
- @TheLortex made their first contribution in #2941
Full Changelog: 0.52.2...0.53.0
0.52.2
0.52.2
Bzlmod
bazel_dep(name = "rules_rust", version = "0.52.2")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-Zx3bP+Xrz53TTQUeynNS+68z+lO/Ye7Qt1pMNIKeVIA=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.2/rules_rust-v0.52.2.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Restore lost "is_absolute" by @vitalybuka in #2922
- Revert #2911 and #2922 by @UebelAndre in #2925
Full Changelog: 0.52.1...0.52.2
0.52.1
0.52.1
Bzlmod
bazel_dep(name = "rules_rust", version = "0.52.1")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-CRrEsKZ7wlLCyE2Eu7lBq3mrwecfvTIk2kr9+6c3VPA=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.1/rules_rust-v0.52.1.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Add missing inputs to CargoBuildScriptRun action by @UebelAndre in #2918
- Avoid builds-without-the-bytes bug on Windows by @UebelAndre in #2919
- Release 0.52.1 by @UebelAndre in #2920
Full Changelog: 0.52.0...0.52.1
0.52.0
0.52.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.52.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-eTHntUQQe2ICm/L8cuefnXdSOtZQ1ELZPD/M6a1ewes=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.0/rules_rust-v0.52.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Allowlist more clang flags in bindgen by @hlopko in #2902
- Allow
+
in repo names by @fmeum in #2908 - Added utility for parsing action Args param files by @UebelAndre in #2897
- Updated platform triple mapping to support T3 platforms without
std
. by @UebelAndre in #2899 - Fix
override_targets
keys in docs by @max-heller in #2905 - Use absolute path with "-fsanitize-ignorelist" by @vitalybuka in #2911
- Fix platform validation for wasm32-wasip1 target by @c16a in #2894
- Update
cargo_build_script
to always render custom runfiles dirs. by @UebelAndre in #2891 - Check target tags before ignore tags for lint/fmt aspects by @UebelAndre in #2913
- Get rolling releases CI green by @illicitonion in #2916
- Avoid uses of shell to improve Windows tests by @UebelAndre in #2912
- Prep release 0.52.0 by @illicitonion in #2910
New Contributors
- @fmeum made their first contribution in #2908
- @max-heller made their first contribution in #2905
- @vitalybuka made their first contribution in #2911
- @c16a made their first contribution in #2894
Full Changelog: 0.51.0...0.52.0
0.51.0
0.51.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.51.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-BCrPtzRpstGEj+FI2Bw0IsYepHqeGQDxyew29R6OcZM=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.51.0/rules_rust-v0.51.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Promote experimental_toolchain_generated_sysroot to non-experimental by @krasimirgg in #2849
- Propagate
cargo_build_script.data
toRustc
compile actions by @UebelAndre in #2856 - Build
rust_test
targets using a crate name different from the underlying lib by @felipeamp in #2828 - Allow
crates_vendor
to read theCARGO_BAZEL_DEBUG
env var by @UebelAndre in #2862 - crate_universe: Don't preform path translation on
out_dir
by @konkers in #2844 - Allow bzlmod users to inhibit toolchain registration by @konkers in #2819
- Add wasm64 support. by @freeformstu in #2866
- Update crate_universe to determine dep+feature trees per host by @UebelAndre in #2877
- Added tests for
runfiles::parse_repo_mapping
by @UebelAndre in #2869 - Move all settings flags into
//rust/settings
by @UebelAndre in #2870 - Update bindgen version to 0.70.1 by @UebelAndre in #2872
- Fix runfiles creation for directory based runfiles. by @UebelAndre in #2883
- crate_universe release 0.15.0 by @UebelAndre in #2880
- Update
cargo_build_script
to work without runfiles support. by @UebelAndre in #2871 - Revert "Update
cargo_build_script
to work without runfiles support (#2871)" by @UebelAndre in #2885 - Fix keyword handling in prost wrapper by @purkhusid in #2888
- Improved various tests to be more compatible on Windows by @UebelAndre in #2886
- Document upstream tooling wrappers by @illicitonion in #2890
- Update
cargo_build_script
to work without runfiles support. by @UebelAndre in #2887 - Release 0.51.0 by @UebelAndre in #2881
New Contributors
- @purkhusid made their first contribution in #2888
Full Changelog: 0.50.1...0.51.0
0.50.1
0.50.1
Bzlmod
bazel_dep(name = "rules_rust", version = "0.50.1")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-MZscNcESBO9WsdlKVJ9rnTUygTt3jwLXCe9oyDcDbPE=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.50.1/rules_rust-v0.50.1.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Update crate universe to generate build script targets with compile data by @UebelAndre in #2855
- Release 0.50.1 by @UebelAndre in #2857
Full Changelog: 0.50.0...0.50.1
0.50.0
0.50.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.50.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-NE2PXqlFFVnUDR4msCyI3kZtv1y1Io2MCsrlVxsdqI4=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.50.0/rules_rust-v0.50.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Delete
incompatible_no_rustc_sysroot_env
by @UebelAndre in #2790 - Use
target_flag_value
instead oftarget_triple.str
by @scentini in #2793 - Ensure proto compiler attribute is consistent in prost_toolchain by @UebelAndre in #2794
- Remove deprecated variables from
repositories.bzl
macros by @UebelAndre in #2795 - Restored bzlmod documentation. by @marvin-hansen in #2798
- Build
rust_test
targets using a crate name different from the underlying lib by @felipeamp in #2803 - Update Prost (proto) dependencies to latest versions by @UebelAndre in #2810
- Added
env_inherit
attribute torust_test
by @UebelAndre in #2809 - Revert "Build rust_test targets using a crate name different from the underlying lib" by @felipeamp in #2815
- Use
crate_name
to also matchcrate_root
. by @UebelAndre in #2824 - Moved
cargo_dep_env
into it's own file. by @UebelAndre in #2823 - Doc: update outdated parameter
output_diagnostics
by @LiXuanqi in #2813 - Update min bazel version by @scentini in #2812
- Flip
experimental_use_coverage_metadata_files
by @UebelAndre in #2830 - Consistently thread extra target constraints around by @illicitonion in #2829
- Updated docs to use mdbook by @UebelAndre in #2834
- Add s390x arch support by @Repana-Chowdappa in #2616
- rustdoc_test: Apply prefix stripping to proc_macro dependencies. by @konkers in #1952
- Minor improvements to documentation. by @UebelAndre in #2846
- Updated fetch_shas utility to use the channel manifest tomls by @UebelAndre in #2840
- Support emitting debug logs in rules_rust process wrapper. by @UebelAndre in #2845
- Prune
known_shas.bzl
to only include versions used in BazelCI by @UebelAndre in #2850 - Avoid double building
cargo_build_script.data
targets by @UebelAndre in #2826 - Use fake.rs not /dev/null as fake source file by @illicitonion in #2851
- Moved crate_universe
TreeResolver
into it's own file. by @UebelAndre in #2852 - Error on absolute src paths by @illicitonion in #2853
- Improve crate_universe debug logging for
cargo tree
parsing by @UebelAndre in #2854 - Added Rust 1.81.0 by @UebelAndre in #2841
- Update
runfiles::rlocation!
to returnOption
instead of panicing by @UebelAndre in #2847 - Release 0.50.0 by @UebelAndre in #2835
New Contributors
- @felipeamp made their first contribution in #2803
- @LiXuanqi made their first contribution in #2813
- @Repana-Chowdappa made their first contribution in #2616
Full Changelog: 0.49.3...0.50.0
0.49.3
0.49.3
Bzlmod
bazel_dep(name = "rules_rust", version = "0.49.3")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-3QBrdyIdWeTRQSB8DnrfEbH7YNFEC4/KA7+SVheTKmA=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.49.3/rules_rust-v0.49.3.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Fake resolve roots don't forcibly enable default features by @illicitonion in #2789
- Release 0.49.3 by @illicitonion in #2791
Full Changelog: 0.49.2...0.49.3
0.49.2
0.49.2
Bzlmod
bazel_dep(name = "rules_rust", version = "0.49.2")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-5r5uj7WUevWfVgA45OWPa0brUJilfa0KOKHsVLcQBmA=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.49.2/rules_rust-v0.49.2.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Introduce feature
rules_rust_link_cc
. by @yuzhy8701 in #2723 - Fix up fake resolve roots for proc macros by @illicitonion in #2784
- Release 0.49.2 by @illicitonion in #2785
Full Changelog: 0.49.1...0.49.2
0.49.1
0.49.1
Bzlmod
bazel_dep(name = "rules_rust", version = "0.49.1")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-vPcQEm9pdNwttW2exexMfGxOLFOwcotEw1t3CkgCS8k=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.49.1/rules_rust-v0.49.1.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Support alwayslink for linking with clang by @cerisier in #2647
- Add virtual deps to package, not virtual workspace root by @illicitonion in #2775
- Release 0.49.1 by @illicitonion in #2776
New Contributors
Full Changelog: 0.49.0...0.49.1