diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-26 17:09:32 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-26 17:09:32 +0000 |
commit | b1594f108041813c9fa32538950c15c55202cbd5 (patch) | |
tree | cef1e662a7acf2807422e7c232014c5326ac37b6 /Cargo.lock | |
parent | 20c110e57f24aa54154942ee40921e9129fbc595 (diff) | |
parent | db162df264a222021dbc7f1f93af94029f3948d9 (diff) |
Merge #3727
3727: Introduce ra_proc_macro r=matklad a=edwin0cheng
This PR implemented:
1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained.
2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander.
3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 10ea55550..3bb1df05b 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -928,6 +928,7 @@ dependencies = [ | |||
928 | "ra_cfg", | 928 | "ra_cfg", |
929 | "ra_prof", | 929 | "ra_prof", |
930 | "ra_syntax", | 930 | "ra_syntax", |
931 | "ra_tt", | ||
931 | "relative-path", | 932 | "relative-path", |
932 | "rustc-hash", | 933 | "rustc-hash", |
933 | "salsa", | 934 | "salsa", |
@@ -1082,6 +1083,13 @@ dependencies = [ | |||
1082 | ] | 1083 | ] |
1083 | 1084 | ||
1084 | [[package]] | 1085 | [[package]] |
1086 | name = "ra_proc_macro" | ||
1087 | version = "0.1.0" | ||
1088 | dependencies = [ | ||
1089 | "ra_tt", | ||
1090 | ] | ||
1091 | |||
1092 | [[package]] | ||
1085 | name = "ra_prof" | 1093 | name = "ra_prof" |
1086 | version = "0.1.0" | 1094 | version = "0.1.0" |
1087 | dependencies = [ | 1095 | dependencies = [ |
@@ -1102,6 +1110,7 @@ dependencies = [ | |||
1102 | "ra_cargo_watch", | 1110 | "ra_cargo_watch", |
1103 | "ra_cfg", | 1111 | "ra_cfg", |
1104 | "ra_db", | 1112 | "ra_db", |
1113 | "ra_proc_macro", | ||
1105 | "rustc-hash", | 1114 | "rustc-hash", |
1106 | "serde", | 1115 | "serde", |
1107 | "serde_json", | 1116 | "serde_json", |