This repository was archived by the owner on Mar 19, 2024. It is now read-only.
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
Multi-Crate repo #68
Closed
Description
I get an error when I try to edit a folder that contains many crates. So the Cargo.toml
files are not at the root, but in the folders. Seems RLS is checking for a Cargo.toml
at the root of my folder instead of starting where my main.rs
file is.
Two examples of multi-crate repos:
- https://bitbucket.org/dannyfritz/chip8-rs/src/c12c17776d8321c8e96674a467a12fc8a19b5696/?at=modules
- https://github.com/emu-rs/rustual-boy
This is the error:
Error reading manifest path: ErrorMessage { msg: "could not find Cargo.toml in C:\\Users\\danny\\Dev\\chip8\\ or any parent directory" }
stack backtrace:
0: 0x7ff755ab9529 - git_reference_type
1: 0x7ff755ab9a7e - git_reference_type
2: 0x7ff755ab8a80 - git_reference_type
3: 0x7ff75596b213 - git_commit_tree_id
4: 0x7ff75596b6d0 - git_commit_tree_id
5: 0x7ff7552844bd -
6: 0x7ff7551566a5 -
7: 0x7ffa3a1cae12 - _rust_maybe_catch_panic
8: 0x7ff7551d4b7b -
9: 0x7ffa3a1c8b4f - std::sys::windows::thread::Thread::new::he6cb72092aa085f2
10: 0x7ffa7a731fe4 - BaseThreadInitThunk
Rust (RLS) C:\Users\danny\Dev\chip8\
Metadata
Metadata
Assignees
Labels
No labels