about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-07 09:36:03 +0000
committerbors <bors@rust-lang.org>2022-09-07 09:36:03 +0000
commit690955643504b0dea0d49ab5c9d5fd45ce96230f (patch)
treefaa8cc3e451d05b6bd9574314de6d297e0ddb779 /library/std/src/sys/unix/stack_overflow.rs
parent6dfd8aebdfa1ee1824446f01daf5bdb229b32f92 (diff)
parent5d126a18b4cb779644bace0dfdadb31b058fb618 (diff)
downloadrust-690955643504b0dea0d49ab5c9d5fd45ce96230f.tar.gz
rust-690955643504b0dea0d49ab5c9d5fd45ce96230f.zip
Auto merge of #13200 - P1n3appl3:sysroot, r=Veykril
Use proc-macro-srv from sysroot in rust-project.json workspaces

This was discussed [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/.60sysroot.60.20vs.20.60sysroot_src.60.20for.20.60rust-project.2Ejson.60.3F/near/293023920), basically in `rust-project.json` workspaces RA doesn't respect the `sysroot` setting when picking which `proc-macro-srv` to launch, and this causes abi mismatches in practice.

This is the simple fix that `@Veykril` suggested, and I've verified that it works on Fuchsia by inspecting the cmdline with `pgrep rust-analyzer | xargs ps -fp` to check that it's using the `proc-macro-srv` from our prebuilts which matches the `sysroot` specified in our `rust-project.json`.

Can this be merged as is, or do we need to add tests that exercise this?
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions