rust-analyzer/crates
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
..
base-db Auto merge of #14599 - HKalbasi:dev2, r=HKalbasi 2023-04-20 22:26:17 +00:00
cfg ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
flycheck Bump Cargo.lock 2023-03-25 15:12:39 +01:00
hir Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
hir-def Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
hir-expand Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
hir-ty Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
ide Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
ide-assists Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
ide-completion Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
ide-db Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
ide-diagnostics Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
ide-ssr ⬆️ rust-analyzer 2023-03-13 10:42:24 +02:00
intern ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
limit Move Expander and LowerCtx into separate modules 2023-04-17 20:44:06 +02:00
mbe Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
parser Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
paths Canonicalize rust-project.json manifest path 2023-03-27 21:55:02 +02:00
proc-macro-api Encode closing delimiter span in FlatTrees 2023-04-14 10:34:41 +02:00
proc-macro-srv Encode closing delimiter span in FlatTrees 2023-04-14 10:34:41 +02:00
proc-macro-srv-cli Drop support for non-syroot proc macro ABIs 2023-03-29 10:57:32 +02:00
proc-macro-test ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
profile Bump Cargo.lock 2023-03-25 15:12:39 +01:00
project-model Auto merge of #14599 - HKalbasi:dev2, r=HKalbasi 2023-04-20 22:26:17 +00:00
rust-analyzer Auto merge of #14577 - jsoref:spelling, r=lnicola 2023-04-19 14:05:40 +00:00
sourcegen Use retain_mut in CommentBlock::extract 2023-03-31 17:41:40 -04:00
stdx ⬆️ rust-analyzer 2023-02-20 10:14:12 +02:00
syntax Spelling 2023-04-19 09:45:55 -04:00
test-utils Add minicore smoke test 2023-04-18 17:38:38 +03:30
text-edit internal: Coalesce adjacent Indels 2023-03-21 11:48:32 -04:00
toolchain ⬆️ rust-analyzer 2023-03-13 10:42:24 +02:00
tt Bump smol-str 2023-04-11 14:39:19 +02:00
vfs internal: Refine CrateOrigin variants 2023-03-31 10:36:13 +02:00
vfs-notify ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00