Uh oh!
There was an error while loading. Please reload this page.
impl Clone for Command - #22858
Conversation
alexcrichton
commented
Feb 27, 2015
I actually explicitly requested that we not implement
That being said, I'd be willing to revisit it. |
japaric
commented
Feb 27, 2015
That'd be bad for me, because I rely on clonning let inputs = 0..10;
criterion.bench_prog_with_inputs("py",Command::new("python").arg("under_test.py"), inputs);Without it, doing the same operation would be unergonomic as you'll have to repeat the // one call for each value of `$N`
criterion.bench_prog("py/$N",Command::new("python").arg("under_test.py").arg("$N"));
...// and the user must not forget to summarize the results at the endcriterion.summarize("py");
That sounds reasonable to me. I'll stick to the old |
alexcrichton
commented
Feb 27, 2015
Another option, however, would be taking a
That feels a bit heavy-handed for this particular aspect in my opinion. I believe @aturon is on vacation right now but I would be curious to hear his thoughts on this as well. |
bors
commented
Mar 3, 2015
☔ The latest upstream changes (presumably #22882) made this pull request unmergeable. Please resolve the merge conflicts. |
aturon
commented
Mar 5, 2015
So, I'm uncomfortable with a |
japaric
commented
Mar 5, 2015
I'd be happy with this alternative. |
aturon
commented
Mar 10, 2015
@japaric Ok, I think we could probably take an |
alexcrichton
commented
Mar 23, 2015
Closing due to inactivity, but feel free to reopen with @aturon's suggestion! |
dejavu
Both (unix/windows) underlying
Commandimplementations are alreadyClone.r? @alexcrichton