diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-19 14:43:42 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-19 14:43:42 +0100 |
commit | ec6df5d3e866c215f7e699366ba55a7112ab4149 (patch) | |
tree | 103cc4e4e68253076516455fc2fee2016c1ce73d /crates/ra_assists/src/tests | |
parent | 4575c38810c8874838d2a2b0ea1bbd789a774af6 (diff) | |
parent | f9ce7cd961482310547b656364dc40f8ccffd6fc (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