-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add --with
option to cargo run
#1763
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Nice idea! I'm somewhat uneasy about taking the unix-ism of Thoughts @rust-lang/tools? |
@alexcrichton Maybe I could argue it's std::fmt-ism, but honestly unix find command was my inspiration :) |
☔ The latest upstream changes (presumably #1783) made this pull request unmergeable. Please resolve the merge conflicts. |
Another alternative for doing this is something along the lines of |
I could implement that, not problem, but I'm a little concerned about an |
☔ The latest upstream changes (presumably #1933) made this pull request unmergeable. Please resolve the merge conflicts. |
@vojtechkral hi, are you still working on this? |
@kanru Well I haven't looked at this in a while because this PR hasn't really caught much attention :) but I could resolve the conflicts I suppose. |
Just really want this feature so if you were not working on this, I'm gonna ;) |
@kanru I'll resolve the merge conflicts ASAP (wchich seems easy enough) and test if the implementation still works. Apart from that, what would you propose to do? If you have some comments/criticism concerning implementation, feel free to let me know. |
@vojtechkral Instead of adding |
@kanru All of the arguments following
|
eb5922f
to
2dad9ee
Compare
@vojtechkral but
When one wants to debug:
or
And --with-args is optional. What do you think? |
Yes, but only because |
☔ The latest upstream changes (presumably #2192) made this pull request unmergeable. Please resolve the merge conflicts. |
This has been inactive for some time now, so I'm going to close, but feel free to resubmit with a rebase! |
Implementing what I had in mind in #1726
There are likely imperfections in design / implementation, I'm opening this PR mostly to get feedback :)
Motivation / usage examples: