Open Avi-D-coder opened 5 years ago
Temporarily, you can run it with cargo run
from the source directory, that works for me. I haven't used the CLI a lot so I don't have a cleaner solution. This will be permanently solved by this PR: https://github.com/rust-lang/rust/pull/49219#issuecomment-438379259
Maybe @h-michael has a better solution?
This should occur only nightly build. So you should build cli with stable rust until that PR merged.
I build graphql-client-cli with nightly. This problem does not occur.
Great news!
I just ran into this.
Maybe the README should mention that the CLI only supports nightly right now.
Oh, actually I just noticed: even on nightly the built binary does not work!
It only works with cargo run
. Executing target/debug/graphql-client
still gives the same error.
@theduke Thank you for your report. I 'll try it later.
Is this still an issue?
I haven't tried in a very long time! It would be nice to clarify this.
rustc 1.32.0-nightly (9fefb6766 2018-11-13)
Steps to reproduce:
Output: