TockOS subproject errors #1057
Description
I'm trying to import Tock OS into eclipse, and I keep getting an error when I open a rust file.
LSP (org.eclipse.corrosion.RLS)
Error reading manifest path: Error message { msg: "could not find Cargo.toml in or any parent directory"}
TockOS is an embedded operative system written in Rust. The project organization is a little odd: it is written with a Makefile at the top of the project. This Makefile actually handles calling cargo in the different parts of the operative system. Each chip or board has his own cargo project, and every time I try to open a rust file, I get the message listed above, because the Cargo.toml file is not present at the root of the project.
I have to import Tock using "Existing code as a Makefile project", since there isn't any main Cargo.toml file at the root of the project. It's only a Makefile, and the cargo files are inside the different parts of the project. The thing is: the different parts of the project do NOT compile independently unless you set some variables that are generated inside the Makefile, so you can't import them as independent project separately.
Is there any way to workaround this? Right now I don't have any choice, so I had to completely disable RLS. Thank you