Skip to content
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

Support for workspaces in Run/Debug configurations #34

Closed
stephanbuys opened this issue Oct 12, 2016 · 3 comments
Closed

Support for workspaces in Run/Debug configurations #34

stephanbuys opened this issue Oct 12, 2016 · 3 comments

Comments

@stephanbuys
Copy link

Hi, I'm using https://github.com/rust-lang/rfcs/blob/master/text/1525-cargo-workspace.md

It would be awesome to be able to pick a "member" project for a cargo command (or even just change the cargo command working directory).

At the moment I'm working around the issue by just opening up my "members" in a different IDE window.

You can reference https://github.com/habitat-sh/habitat for a production example.

@matklad
Copy link
Member

matklad commented Oct 12, 2016

Yep, this is a known pain point. The best workaround currently would be to specify --manifest-path flag for each run configuration.

I intend to fix this in Cargo: currently if you run cargo test --package foo in the root of the workspace, you get the "virtual manifest error".

@matklad
Copy link
Member

matklad commented Oct 12, 2016

upstream issue: rust-lang/cargo#3194

@matklad
Copy link
Member

matklad commented Oct 12, 2016

Moved to the plugin repo: intellij-rust/intellij-rust#733

@matklad matklad closed this as completed Oct 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants