aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/tests
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-19 14:43:42 +0100
committerGitHub <[email protected]>2020-06-19 14:43:42 +0100
commitec6df5d3e866c215f7e699366ba55a7112ab4149 (patch)
tree103cc4e4e68253076516455fc2fee2016c1ce73d /crates/ra_assists/src/tests
parent4575c38810c8874838d2a2b0ea1bbd789a774af6 (diff)
parentf9ce7cd961482310547b656364dc40f8ccffd6fc (diff)
Merge #4937
4937: Allow overriding rust-analyzer display version r=matklad a=oxalica The build script invokes `git` for version information which is displayed when rust-analyzer is called with `--version`. But in build environment without `git` or when the source code is not a git repo, there's no way to manually specify the version information. This patch respects environment variable ~`REV`~ `RUST_ANALYZER_REV` in compile time for overriding. Related: https://github.com/NixOS/nixpkgs/pull/90976 Co-authored-by: oxalica <[email protected]>
Diffstat (limited to 'crates/ra_assists/src/tests')
0 files changed, 0 insertions, 0 deletions