Skip to content

Conversation

@matklad
Copy link
Contributor

@matklad matklad commented Apr 1, 2020

bors r+
🤖

@bors
Copy link
Contributor

bors bot commented Apr 1, 2020

Merge conflict

}
FlycheckConfig::CustomCommand { command, args } => {
let mut cmd = Command::new(command);
cmd.args(args);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be nice to support --manifest-path here as well. Maybe some special arg like MANIFEST_PATH that will be replaced here with the manifest path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the user can't add --manifest-path=/path/to/Cargo.toml themselves?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would require some dynamic configuration, while the other way would support having a static configuration. It would be solvable, but I think it requires more work for the user than doing it here.

@matklad
Copy link
Contributor Author

matklad commented Apr 1, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 1, 2020

@bors bors bot merged commit d03d638 into rust-lang:master Apr 1, 2020
@matklad
Copy link
Contributor Author

matklad commented Apr 1, 2020 via email

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

Successfully merging this pull request may close these issues.

2 participants