-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External builds integration #135
Comments
We're using https://github.com/rust-lang-nursery/rls/ that provides the language smartness. It seems like RLS strongly expects a Cargo.toml file. Please open an issue to RLS about it. |
Thank you. I filed the bug here: |
Hi, while RLS does not have 100% compatibility there is an experimental feature that could be used to get the most important features working. The details are here: rust-lang/rls#1057 While I understand this is not a priority I'm re-opening to keep track of the possible changes that could add support for other build systems to Corrosion. The RLS developer mentioned some progress on adding more build systems (other than the experimental build_command), so I'm hoping we can also keep track of the support in the eclipse plugin here. thank you. |
If you submit a PR to enable more features from RLS, it would be welcome. |
I'm trying to import Tock OS into eclipse, and I keep getting an error when I open a rust file.
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 as "existing code as a Makefile project", since there isn't any main Cargo.toml file. 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
Is there any way to workaround this?
The text was updated successfully, but these errors were encountered: