commit | 96d5118f03411f80182fd45426e259eedf809d7a | [log] [tgz] |
---|---|---|
author | Marcel Hlopko <hlopko@google.com> | Wed May 12 08:28:45 2021 +0200 |
committer | GitHub <noreply@github.com> | Wed May 12 08:28:45 2021 +0200 |
tree | a51f746c7b32659985a607c678587a4e5245e00e | |
parent | 16dd016d197e69d21d0218de894e6889b4b3e506 [diff] |
Ask rust_toolchain for rustc_srcs in rust_analyzer.bzl (#733) In this PR we remove hardcoded assumption about where rust-analyzer support code looks for rustc sources, and instead read that information from the `rust_toolchain.rustc_src`. We also handle the case when rustc sources are actually in the main repository, so there is no need to use the `__EXEC_ROOT__/` prefix for its path.
This repository provides rules for building Rust projects with Bazel.
Please refer to the full documentation.