0.40.0
0.40.0
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-ww398ehv1QZQp26mRbOkXy8AZnsGGHpoXpVU4WfKl+4=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.40.0/rules_rust-v0.40.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Fix linkopts set in cc deps of bindgen by @daivinhtran in #2422
- Use a path instead of a string for emit in rustc command-line arguments. by @matts1 in #2445
- Fixes the ci failure in Bazel by @sgowroji in #2482
- Add script to revendor all crates by @cameron-martin in #2459
- Update wasm-bindgen to 0.2.91 by @alexkirsz in #2489
- Use commit from cargo lock file for git repositories by @cameron-martin in #2490
- Use non-canonical repo name in hub repo by @cameron-martin in #2491
- Update crate_universe to allow re-pinning precise packages with pins by @UebelAndre in #2493
- Check if resolved index URL starts with sparse+ by @nickcollier in #2498
- Bump crate_universe version to
0.11.0
by @UebelAndre in #2478 - Introduce @rules_testing for Starlark tests by @daivinhtran in #2480
- Update crates_universe render script to run from Bazel by @UebelAndre in #2492
- Allow rules to provide their own rust-analyzer providers by @UebelAndre in #2487
- Update apple rules by @keith in #2506
- Add MODULE.bazel.lock to gitignore by @keith in #2505
- Replace deprecated
ctx.build_file_path
by @mai93 in #2503 - fix rustdoc: omit link flags for rustdoc by @bgeron in #2467
- Updated label crate to understand canonical vs apparent repositories by @UebelAndre in #2507
- Set allow_empty on unknown globs by @illicitonion in #2509
- Re-vendor all crates by @cameron-martin in #2514
- Introduce rules_rust_unsupported_feature by @tpudlik in #2511
- Fix bzlmod examples on windows by @cameron-martin in #2454
- Implement support for dylib linkage by @daivinhtran in #2414
- Fix all-crate-deps with bzlmod and conditionals. by @criemen in #2516
- Locate license file in packge root if not specified in cargo metadata by @nickcollier in #2521
- Split CrateID CrateNameAndVersionReq by @illicitonion in #2525
- Add public interface to lockfile interospection by @illicitonion in #2515
- Use pub(crate) rather than pub by @illicitonion in #2526
- Make
Select
accessors public by @illicitonion in #2528 - Release 0.40.0 by @illicitonion in #2527
New Contributors
- @sgowroji made their first contribution in #2482
- @mai93 made their first contribution in #2503
- @bgeron made their first contribution in #2467
- @tpudlik made their first contribution in #2511
- @criemen made their first contribution in #2516
Full Changelog: 0.39.0...0.40.0