bazelbuild/rules_rust (rules_rust)
### [`v0.40.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.40.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.39.0...0.40.0)
### 0.40.0
```python
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](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2422](https://togithub.com/bazelbuild/rules_rust/pull/2422)
- Use a path instead of a string for emit in rustc command-line arguments. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2445](https://togithub.com/bazelbuild/rules_rust/pull/2445)
- Fixes the ci failure in Bazel by [@sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_rust/pull/2482](https://togithub.com/bazelbuild/rules_rust/pull/2482)
- Add script to revendor all crates by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2459](https://togithub.com/bazelbuild/rules_rust/pull/2459)
- Update wasm-bindgen to 0.2.91 by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2489](https://togithub.com/bazelbuild/rules_rust/pull/2489)
- Use commit from cargo lock file for git repositories by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2490](https://togithub.com/bazelbuild/rules_rust/pull/2490)
- Use non-canonical repo name in hub repo by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2491](https://togithub.com/bazelbuild/rules_rust/pull/2491)
- Update crate_universe to allow re-pinning precise packages with pins by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2493](https://togithub.com/bazelbuild/rules_rust/pull/2493)
- Check if resolved index URL starts with sparse+ by [@nickcollier](https://togithub.com/nickcollier) in [https://github.com/bazelbuild/rules_rust/pull/2498](https://togithub.com/bazelbuild/rules_rust/pull/2498)
- Bump crate_universe version to `0.11.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2478](https://togithub.com/bazelbuild/rules_rust/pull/2478)
- Introduce @rules_testing for Starlark tests by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2480](https://togithub.com/bazelbuild/rules_rust/pull/2480)
- Update crates_universe render script to run from Bazel by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2492](https://togithub.com/bazelbuild/rules_rust/pull/2492)
- Allow rules to provide their own rust-analyzer providers by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2487](https://togithub.com/bazelbuild/rules_rust/pull/2487)
- Update apple rules by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2506](https://togithub.com/bazelbuild/rules_rust/pull/2506)
- Add MODULE.bazel.lock to gitignore by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2505](https://togithub.com/bazelbuild/rules_rust/pull/2505)
- Replace deprecated `ctx.build_file_path` by [@mai93](https://togithub.com/mai93) in [https://github.com/bazelbuild/rules_rust/pull/2503](https://togithub.com/bazelbuild/rules_rust/pull/2503)
- fix rustdoc: omit link flags for rustdoc by [@bgeron](https://togithub.com/bgeron) in [https://github.com/bazelbuild/rules_rust/pull/2467](https://togithub.com/bazelbuild/rules_rust/pull/2467)
- Updated label crate to understand canonical vs apparent repositories by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2507](https://togithub.com/bazelbuild/rules_rust/pull/2507)
- Set allow_empty on unknown globs by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2509](https://togithub.com/bazelbuild/rules_rust/pull/2509)
- Re-vendor all crates by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2514](https://togithub.com/bazelbuild/rules_rust/pull/2514)
- Introduce rules_rust_unsupported_feature by [@tpudlik](https://togithub.com/tpudlik) in [https://github.com/bazelbuild/rules_rust/pull/2511](https://togithub.com/bazelbuild/rules_rust/pull/2511)
- Fix bzlmod examples on windows by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2454](https://togithub.com/bazelbuild/rules_rust/pull/2454)
- Implement support for dylib linkage by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2414](https://togithub.com/bazelbuild/rules_rust/pull/2414)
- Fix all-crate-deps with bzlmod and conditionals. by [@criemen](https://togithub.com/criemen) in [https://github.com/bazelbuild/rules_rust/pull/2516](https://togithub.com/bazelbuild/rules_rust/pull/2516)
- Locate license file in packge root if not specified in cargo metadata by [@nickcollier](https://togithub.com/nickcollier) in [https://github.com/bazelbuild/rules_rust/pull/2521](https://togithub.com/bazelbuild/rules_rust/pull/2521)
- Split CrateID CrateNameAndVersionReq by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2525](https://togithub.com/bazelbuild/rules_rust/pull/2525)
- Add public interface to lockfile interospection by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2515](https://togithub.com/bazelbuild/rules_rust/pull/2515)
- Use pub(crate) rather than pub by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2526](https://togithub.com/bazelbuild/rules_rust/pull/2526)
- Make `Select` accessors public by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2528](https://togithub.com/bazelbuild/rules_rust/pull/2528)
- Release 0.40.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2527](https://togithub.com/bazelbuild/rules_rust/pull/2527)
#### New Contributors
- [@sgowroji](https://togithub.com/sgowroji) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2482](https://togithub.com/bazelbuild/rules_rust/pull/2482)
- [@mai93](https://togithub.com/mai93) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2503](https://togithub.com/bazelbuild/rules_rust/pull/2503)
- [@bgeron](https://togithub.com/bgeron) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2467](https://togithub.com/bazelbuild/rules_rust/pull/2467)
- [@tpudlik](https://togithub.com/tpudlik) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2511](https://togithub.com/bazelbuild/rules_rust/pull/2511)
- [@criemen](https://togithub.com/criemen) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2516](https://togithub.com/bazelbuild/rules_rust/pull/2516)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.39.0...0.40.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.39.0
->0.40.0
Release Notes
bazelbuild/rules_rust (rules_rust)
### [`v0.40.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.40.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.39.0...0.40.0) ### 0.40.0 ```python 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](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2422](https://togithub.com/bazelbuild/rules_rust/pull/2422) - Use a path instead of a string for emit in rustc command-line arguments. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2445](https://togithub.com/bazelbuild/rules_rust/pull/2445) - Fixes the ci failure in Bazel by [@sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_rust/pull/2482](https://togithub.com/bazelbuild/rules_rust/pull/2482) - Add script to revendor all crates by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2459](https://togithub.com/bazelbuild/rules_rust/pull/2459) - Update wasm-bindgen to 0.2.91 by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2489](https://togithub.com/bazelbuild/rules_rust/pull/2489) - Use commit from cargo lock file for git repositories by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2490](https://togithub.com/bazelbuild/rules_rust/pull/2490) - Use non-canonical repo name in hub repo by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2491](https://togithub.com/bazelbuild/rules_rust/pull/2491) - Update crate_universe to allow re-pinning precise packages with pins by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2493](https://togithub.com/bazelbuild/rules_rust/pull/2493) - Check if resolved index URL starts with sparse+ by [@nickcollier](https://togithub.com/nickcollier) in [https://github.com/bazelbuild/rules_rust/pull/2498](https://togithub.com/bazelbuild/rules_rust/pull/2498) - Bump crate_universe version to `0.11.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2478](https://togithub.com/bazelbuild/rules_rust/pull/2478) - Introduce @rules_testing for Starlark tests by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2480](https://togithub.com/bazelbuild/rules_rust/pull/2480) - Update crates_universe render script to run from Bazel by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2492](https://togithub.com/bazelbuild/rules_rust/pull/2492) - Allow rules to provide their own rust-analyzer providers by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2487](https://togithub.com/bazelbuild/rules_rust/pull/2487) - Update apple rules by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2506](https://togithub.com/bazelbuild/rules_rust/pull/2506) - Add MODULE.bazel.lock to gitignore by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2505](https://togithub.com/bazelbuild/rules_rust/pull/2505) - Replace deprecated `ctx.build_file_path` by [@mai93](https://togithub.com/mai93) in [https://github.com/bazelbuild/rules_rust/pull/2503](https://togithub.com/bazelbuild/rules_rust/pull/2503) - fix rustdoc: omit link flags for rustdoc by [@bgeron](https://togithub.com/bgeron) in [https://github.com/bazelbuild/rules_rust/pull/2467](https://togithub.com/bazelbuild/rules_rust/pull/2467) - Updated label crate to understand canonical vs apparent repositories by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2507](https://togithub.com/bazelbuild/rules_rust/pull/2507) - Set allow_empty on unknown globs by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2509](https://togithub.com/bazelbuild/rules_rust/pull/2509) - Re-vendor all crates by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2514](https://togithub.com/bazelbuild/rules_rust/pull/2514) - Introduce rules_rust_unsupported_feature by [@tpudlik](https://togithub.com/tpudlik) in [https://github.com/bazelbuild/rules_rust/pull/2511](https://togithub.com/bazelbuild/rules_rust/pull/2511) - Fix bzlmod examples on windows by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2454](https://togithub.com/bazelbuild/rules_rust/pull/2454) - Implement support for dylib linkage by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2414](https://togithub.com/bazelbuild/rules_rust/pull/2414) - Fix all-crate-deps with bzlmod and conditionals. by [@criemen](https://togithub.com/criemen) in [https://github.com/bazelbuild/rules_rust/pull/2516](https://togithub.com/bazelbuild/rules_rust/pull/2516) - Locate license file in packge root if not specified in cargo metadata by [@nickcollier](https://togithub.com/nickcollier) in [https://github.com/bazelbuild/rules_rust/pull/2521](https://togithub.com/bazelbuild/rules_rust/pull/2521) - Split CrateID CrateNameAndVersionReq by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2525](https://togithub.com/bazelbuild/rules_rust/pull/2525) - Add public interface to lockfile interospection by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2515](https://togithub.com/bazelbuild/rules_rust/pull/2515) - Use pub(crate) rather than pub by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2526](https://togithub.com/bazelbuild/rules_rust/pull/2526) - Make `Select` accessors public by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2528](https://togithub.com/bazelbuild/rules_rust/pull/2528) - Release 0.40.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2527](https://togithub.com/bazelbuild/rules_rust/pull/2527) #### New Contributors - [@sgowroji](https://togithub.com/sgowroji) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2482](https://togithub.com/bazelbuild/rules_rust/pull/2482) - [@mai93](https://togithub.com/mai93) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2503](https://togithub.com/bazelbuild/rules_rust/pull/2503) - [@bgeron](https://togithub.com/bgeron) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2467](https://togithub.com/bazelbuild/rules_rust/pull/2467) - [@tpudlik](https://togithub.com/tpudlik) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2511](https://togithub.com/bazelbuild/rules_rust/pull/2511) - [@criemen](https://togithub.com/criemen) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2516](https://togithub.com/bazelbuild/rules_rust/pull/2516) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.39.0...0.40.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.