Gate and rename binary, use it if it's in the sysroot

This commit is contained in:
Amos Wenger 2022-07-25 16:22:39 +02:00
parent dadb83282d
commit 74a2fad5e6
4 changed files with 22 additions and 1 deletions

View file

@ -86,6 +86,7 @@ fn mk_child(
) -> io::Result<Child> {
Command::new(path.as_os_str())
.args(args)
.env("RUST_ANALYZER_INTERNALS_DO_NOT_USE", "this is unstable")
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::inherit())