]> git.lizzy.rs Git - rust.git/commitdiff
Merge #3958
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Thu, 16 Apr 2020 20:21:59 +0000 (20:21 +0000)
committerGitHub <noreply@github.com>
Thu, 16 Apr 2020 20:21:59 +0000 (20:21 +0000)
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 <edwin0cheng@gmail.com>
1  2 
Cargo.lock

diff --cc Cargo.lock
Simple merge