diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-09 20:57:04 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-09 20:57:04 +0000 |
commit | 654313dbc7fdfc839b79592c5a06dfe8597d55b3 (patch) | |
tree | 064328d3e2417144ad3de1e4f67b9f82172ccd05 /crates/hir | |
parent | 4bb120c7a6abed6425534876b86d214440ba1d9a (diff) | |
parent | ad34e79bb9818cc9bf3d0cf746bd052a67c7bab9 (diff) |
Merge #6822
6822: Read version of rustc that compiled proc macro r=edwin0cheng a=jsomedon
Signed-off-by: Jay Somedon <[email protected]>
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 <[email protected]>
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/hir')
0 files changed, 0 insertions, 0 deletions