Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd `--with` option to cargo run #1763
Conversation
rust-highfive
assigned
alexcrichton
Jun 27, 2015
This comment has been minimized.
This comment has been minimized.
rust-highfive
commented
Jun 27, 2015
|
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. |
This comment has been minimized.
This comment has been minimized.
|
Nice idea! I'm somewhat uneasy about taking the unix-ism of Thoughts @rust-lang/tools? |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton Maybe I could argue it's std::fmt-ism, but honestly unix find command was my inspiration :) |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Another alternative for doing this is something along the lines of |
This comment has been minimized.
This comment has been minimized.
|
I could implement that, not problem, but I'm a little concerned about an |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
kanru
commented
Nov 17, 2015
|
@vojtechkral hi, are you still working on this? |
This comment has been minimized.
This comment has been minimized.
|
@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. |
This comment has been minimized.
This comment has been minimized.
kanru
commented
Nov 17, 2015
|
Just really want this feature so if you were not working on this, I'm gonna ;) |
This comment has been minimized.
This comment has been minimized.
|
@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. |
This comment has been minimized.
This comment has been minimized.
kanru
commented
Nov 17, 2015
|
@vojtechkral Instead of adding |
This comment has been minimized.
This comment has been minimized.
|
@kanru All of the arguments following
|
vojtechkral
force-pushed the
vojtechkral:run-with
branch
from
eb5922f
to
2dad9ee
Nov 17, 2015
This comment has been minimized.
This comment has been minimized.
kanru
commented
Nov 18, 2015
|
@vojtechkral but
When one wants to debug:
or
And --with-args is optional. What do you think? |
This comment has been minimized.
This comment has been minimized.
Yes, but only because |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
This has been inactive for some time now, so I'm going to close, but feel free to resubmit with a rebase! |
vojtechkral commentedJun 27, 2015
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: