diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-11 11:44:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-11 11:44:07 +0100 |
commit | 050232a37e71ec06e8810af29178b124c76a527d (patch) | |
tree | 6fddd9fbac95b72b24f0024586fe6d0c985aa429 /crates/hir_ty/src | |
parent | de9e989cf4435c58b8347b16881e50d06f754f20 (diff) | |
parent | d236fc6abecb308dab5e21898fa40f3bddf27640 (diff) |
Merge #9192
9192: internal: Build test-macros in a build script r=jonas-schievink a=jonas-schievink
This build the test-proc-macros in `proc_macro_test` in a build script, and copies the artifact to `OUT_DIR`. This should make it available throughout all of rust-analyzer at no cost other than depending on `proc_macro_test`, fixing https://github.com/rust-analyzer/rust-analyzer/issues/9067.
This hopefully will let us later write inline tests that utilize proc macros, which makes my life fixing proc macro bugs easier.
Opening this as a sort of RFC, because I'm not totally sure this approach is the best.
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_ty/src')
0 files changed, 0 insertions, 0 deletions