(This issue only makes sense after #99603 lands)
@jyn514 is convinced it should if the proper sysroot is used to compile both the proc-macro-srv and proc-macro-test-impl crates.
There's one nested invocation of rustc in proc-macro-srv's build script, but it uses $RUSTC (all it does is grab the trimmed output of rustc -v).
There's one nested invocation of cargo in proc-macro-test's build script (to build proc-macro-test-impl in a temp dir), but it uses $CARGO.
Here's the output of ./x.py test --stage 0 -vv rust-analyzer --test-args like_macro_clone_literals: https://gist.github.com/fasterthanlime/3de46b62906d0762c8c3ac0e295892a4
(This issue only makes sense after #99603 lands)
@jyn514 is convinced it should if the proper sysroot is used to compile both the
proc-macro-srvandproc-macro-test-implcrates.There's one nested invocation of rustc in
proc-macro-srv's build script, but it uses$RUSTC(all it does is grab the trimmed output ofrustc -v).There's one nested invocation of cargo in
proc-macro-test's build script (to buildproc-macro-test-implin a temp dir), but it uses$CARGO.Here's the output of
./x.py test --stage 0 -vv rust-analyzer --test-args like_macro_clone_literals: https://gist.github.com/fasterthanlime/3de46b62906d0762c8c3ac0e295892a4