rust-analyzer/crates
bors[bot] 654313dbc7
Merge #6822
6822: Read version of rustc that compiled proc macro r=edwin0cheng a=jsomedon

Signed-off-by: Jay Somedon <jay.somedon@outlook.com>

This PR is to fix #6174.

I basically
* added two methods, `read_version` and `read_section`(used by `read_version`)
* two new crates `snap` and `object` to be used by those two methods

I just noticed that some part of code were auto-reformatted by rust-analyzer on file save. Does it matter?

Co-authored-by: Jay Somedon <jay.somedon@outlook.com>
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2021-03-09 20:57:04 +00:00
..
base_db Fixed remaining references to AnalysisChange (now: Change) 2021-02-28 12:57:41 +01:00
cfg Upgrade expect-test to 1.1 2021-01-03 14:43:29 +01:00
flycheck Bump cargo_metadata 2021-03-02 14:27:29 +02:00
hir Delete ContainerId 2021-03-09 19:09:02 +01:00
hir_def Compilation speed 2021-03-09 22:30:58 +03:00
hir_expand Compilation speed 2021-03-09 22:30:58 +03:00
hir_ty Compilation speed 2021-03-09 22:30:58 +03:00
ide Compilation speed 2021-03-09 22:30:58 +03:00
ide_assists Compilation speed 2021-03-09 22:30:58 +03:00
ide_completion Compilation speed 2021-03-09 22:30:58 +03:00
ide_db Compilation speed 2021-03-09 22:30:58 +03:00
ide_ssr Compilation speed 2021-03-09 22:30:58 +03:00
mbe Compilation speed 2021-03-09 22:30:58 +03:00
parser Fix fail to parse :: for meta in mbe 2021-03-06 04:57:34 +08:00
paths Document paths items 2021-01-22 15:38:33 +01:00
proc_macro_api use doc-comments 2021-03-10 04:54:31 +08:00
proc_macro_srv Compilation speed 2021-03-09 22:30:58 +03:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile add more counts 2021-01-27 12:39:19 +03:00
project_model Never run cargo check on the rustc source 2021-03-08 16:42:18 +00:00
rust-analyzer Merge #7945 2021-03-09 17:25:23 +00:00
stdx Cleanup decl_check 2021-02-05 16:09:45 +01:00
syntax Merge #7873 #7933 2021-03-09 11:58:48 +00:00
test_utils Use upstream cov-mark 2021-03-08 22:19:44 +02:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Refactor TokenBuffer for reduc cloning 2021-01-05 02:00:46 +08:00
vfs Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00