rust/crates/rust-analyzer
Aleksey Kladov 3c72fc0573 Anchor file-system operations to the file, and not to the source root.
Anchoring to the SourceRoot wont' work if the path is absolute:

  #[path = "/tmp/foo.rs"]
  mod foo;

Anchoring to a file will.

However, we *should* anchor, instead of just producing an abs path.

I can imagine a situation where, for example, rust-analyzer processes
crates from different machines (or, for example, from in-memory git
branch), where the same absolute path in different crates might refer
to different files in the end!
2020-06-16 18:45:58 +02:00
..
src Anchor file-system operations to the file, and not to the source root. 2020-06-16 18:45:58 +02:00
tests/heavy_tests Actually test include!(concant!(env!())); 2020-06-05 15:49:12 +02:00
build.rs Remove unused placeholder 2020-02-21 18:33:45 +08:00
Cargo.toml Merge #4740 2020-06-04 13:04:24 +00:00