rules_rust/tools
Lucas Pluvinage 2e061509ba
gen_rust_project: optimize aquery with many targets (#2941)
Hi, if I'm not mistaken, in Bazel `deps(a)+deps(b)` is equivalent to
`deps(a+b)`. The latter is more efficient because it doesn't have to
deduplicate common dependencies between a and b. This performance issue
has been triggered in our configuration, as we track roughly 700 targets
and 1600 transitive dependencies in our monorepo.
Running `aquery` with the original implementation takes 15 seconds on my
machine while the implementation proposed in this PR takes 1.5 seconds.
2024-10-18 17:45:08 +00:00
..
action_args Added utility for parsing action Args param files (#2897) 2024-10-01 18:42:22 +00:00
allowlists/function_transition_allowlist Implement rules archive release artifact in github action. (#1501) 2022-08-08 13:17:53 +01:00
clippy Move all settings flags into `//rust/settings` (#2870) 2024-09-18 15:54:25 +00:00
runfiles Fix runfiles creation for directory based runfiles. (#2883) 2024-09-18 16:10:01 +00:00
rust_analyzer gen_rust_project: optimize aquery with many targets (#2941) 2024-10-18 17:45:08 +00:00
rustdoc Added Rust 1.76.0 (#2468) 2024-02-08 18:22:54 +00:00
rustfmt Move all settings flags into `//rust/settings` (#2870) 2024-09-18 15:54:25 +00:00
upstream_wrapper Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
BUILD.bazel Implement rules archive release artifact in github action. (#1501) 2022-08-08 13:17:53 +01:00
tool_utils.bzl Use canonical repo name for aspects (#2450) 2024-02-01 17:32:31 +00:00