rust/crates
bors[bot] ec6df5d3e8
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 <oxalicc@pm.me>
2020-06-19 13:43:42 +00:00
..
paths Speedup VFS::partition 2020-06-19 15:07:32 +02:00
ra_arena
ra_assists Merge #4878 2020-06-16 05:29:05 +00:00
ra_cfg
ra_db Make relevant_crates return a Set 2020-06-11 11:30:06 +02:00
ra_flycheck flycheck now uses the configured features 2020-06-09 21:47:54 +02:00
ra_fmt
ra_hir Apply suggestions from code review 2020-06-18 10:15:43 +03:00
ra_hir_def Simplify 2020-06-18 16:02:45 +02:00
ra_hir_expand Don't guess macro expansion crate 2020-06-11 12:13:14 +02:00
ra_hir_ty Merge #4839 2020-06-19 13:34:24 +00:00
ra_ide Merge #4839 2020-06-19 13:34:24 +00:00
ra_ide_db Remove special casing for library symbols 2020-06-18 08:29:34 +02:00
ra_mbe
ra_parser Allow attributes on expressions 2020-06-15 10:59:05 +02:00
ra_proc_macro
ra_proc_macro_srv
ra_prof
ra_project_model Accept relative paths in rust-project.json 2020-06-15 13:11:53 +02:00
ra_syntax Merge #4872 2020-06-18 06:48:12 +00:00
ra_text_edit
ra_toolchain
ra_tt
rust-analyzer Merge #4937 2020-06-19 13:43:42 +00:00
stdx Speedup VFS::partition 2020-06-19 15:07:32 +02:00
test_utils Update parser tests with env var 2020-06-15 11:02:17 +02:00
vfs Speedup VFS::partition 2020-06-19 15:07:32 +02:00