bors 0289dfa261 Auto merge of #14599 - HKalbasi:dev2, r=HKalbasi
Detect sysroot dependencies using symlink copy

cc #7637

It is currently in a proof of concept stage, and it doesn't generates a copy. You need to provide your own sysroot copy in `/tmp/ra-sysroot-hack` in a way that `/tmp/ra-sysroot-hack/library/std/lib.rs` exists and `/tmp/ra-sysroot-hack/Cargo.toml` is [the one from this comment](https://github.com/rust-lang/rust-analyzer/issues/7637#issuecomment-1495008329). I will add the symlink code if we decide that this approach is not a dead end.

It seems to somehow work on my system. Go to definition into std dependencies works, type checking can look through fields if I make them public and `cfg_if` appears to work (I tested it by hovering both sides and seeing that the correct one is enabled). Though finding layout of `HashMap` didn't work.

Please try it and let me know if I should go forward in this direction or not.
2023-04-20 22:26:17 +00:00
..
2023-02-13 13:55:14 +02:00
2023-03-25 15:12:39 +01:00
2023-03-13 10:42:24 +02:00
2023-02-13 13:55:14 +02:00
2023-02-13 13:55:14 +02:00
2023-03-25 15:12:39 +01:00
2023-02-20 10:14:12 +02:00
2023-04-19 09:45:55 -04:00
2023-04-18 17:38:38 +03:30
2023-03-13 10:42:24 +02:00
2023-04-11 14:39:19 +02:00
2023-03-31 10:36:13 +02:00
2023-02-13 13:55:14 +02:00