diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-16 21:21:59 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-16 21:21:59 +0100 |
commit | 10d8cb913cb8247ae64b954cf07460f1b6d96ef7 (patch) | |
tree | 976786b86c189d8c03a15378fd62526cbe8eaab7 /Cargo.lock | |
parent | a4cda3efbbabe4c6129de4dc095953fe858d7d3f (diff) | |
parent | 16a74cfd234e94d383b0ef067fb6a3c651ed9624 (diff) |
Merge #3958
3958: Add proc-macro related config and tests r=matklad a=edwin0cheng
This PR do the following things:
1. Add cli argument `proc-macro` for running proc-macro server.
2. Added support for proc-macro in bench and analysis-stats
3. Added typescript config for proc-macros
4. Added an heavy test for proc-macros.
To test it out:
1. run `cargo xtask install --proc-macro`
2. add `"rust-analyzer.cargo.loadOutDirsFromCheck": true"` and `"rust-analyzer.procMacro.enabled": true"` in vs code config.
[Edit] Change to use `rust-analyzer proc-macro` for running proc-macro standalone process.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 2a12d9f5b..89a734c9b 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -1341,6 +1341,7 @@ dependencies = [ | |||
1341 | "ra_hir_def", | 1341 | "ra_hir_def", |
1342 | "ra_hir_ty", | 1342 | "ra_hir_ty", |
1343 | "ra_ide", | 1343 | "ra_ide", |
1344 | "ra_proc_macro_srv", | ||
1344 | "ra_prof", | 1345 | "ra_prof", |
1345 | "ra_project_model", | 1346 | "ra_project_model", |
1346 | "ra_syntax", | 1347 | "ra_syntax", |