-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
Crash on rye --version | head -1
#861
Comments
Hah. You ran into one of the odd outcomes of stdio in Rust. Since |
Really hate the solution I have in place at the moment. For alternative approaches see rust-lang/rust#46016 |
An alternative could be a custom wrapper of print macros, and disallow std marcos in clippy https://rust-lang.github.io/rust-clippy/master/index.html#/disallowed_macros |
Most uses of printing are already wrapped via the |
Totally forgot. |
Steps to Reproduce
Run
rye --version | head -1
Expected Result
Actual Result
Version Info
Stacktrace
The text was updated successfully, but these errors were encountered: