Fix rust-analyzer proc-macro merge for k8-opt-exec paths (#4140) Written by AI, reviewed by human. Fixes #4139. ## Summary `consolidate_crate_specs` prefers proc-macro dylib paths that look like exec outputs. The previous marker matched paths with `-opt-exec-`, but Bazel can also emit exec paths like `bazel-out/k8-opt-exec/bin/...`. This updates the marker to match both forms and adds a regression test for the unsuffixed `k8-opt-exec/bin` path shape. ## Testing ```sh bazel test --cache_test_results=no //tools/rust_analyzer:gen_rust_project_lib_test ```
This repository provides rules for building Rust projects with Bazel.
The fastest way to try this in an empty project is to click the green “Use this template” button on https://github.com/bazel-starters/rust.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.