You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless I'm missing something, there's a difference between running rustfmt directly(works) versus running it via cargo run --bin rustfmt -- (doesn't output formatted program, if input is stdin)
(that Running part is on stdout, but can add --quiet flag to cargo run to avoid it, that's not a problem)
cargo 0.10.0 (132b82d 2016-03-19) (from 16 days ago)
This seems like a cargo issue though... eg. not properly redirecting stdin to executed program?
If this cargo issue won't be fixed, may I suggest adding this to Gotchas?
EDIT: Quick look: This looks like it should've fixed it rust-lang/cargo#268 but apparently it didn't...
Unless I'm missing something, there's a difference between running
rustfmt
directly(works) versus running it viacargo run --bin rustfmt --
(doesn't output formatted program, if input is stdin)(that
Running
part is on stdout, but can add--quiet
flag tocargo run
to avoid it, that's not a problem)cargo 0.10.0 (132b82d 2016-03-19)
(from 16 days ago)This seems like a cargo issue though... eg. not properly redirecting stdin to executed program?
If this cargo issue won't be fixed, may I suggest adding this to Gotchas?
EDIT: Quick look: This looks like it should've fixed it rust-lang/cargo#268 but apparently it didn't...
EDIT2: The issue is this: rust-lang/cargo#2530
The text was updated successfully, but these errors were encountered: