-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
read_line() fails with an unknown error when run in PowerShell (Windows 7 x64) #13590
Comments
Closed by 6ac3492, I've confirmed that windows nightlies work ok on mintty/powershell |
I should've checked the nightly... sorry about the false alarm. |
No worries, thanks for the report! |
matthiaskrgr
pushed a commit
to matthiaskrgr/rust
that referenced
this issue
Nov 16, 2022
internal: Add proc-macro dependency to rustc_private crates
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Nov 28, 2024
Closes rust-lang#6947 This changes the lint to allow futures which are not `Send` as a result of a generic type parameter not having a `Send` bound and only lint futures that are always `!Send` for any type, which I believe is the more useful behavior (like the comments in the linked issue explain). This is still only a heuristic (I'm not sure if there's a more general way to do this), but it should cover the common cases I could think of (including the code examples in the linked issue) changelog: [`future_not_send`]: allow conditional `Send` futures
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following readline_sample.rs fails with an unknown error when I run it from cmd and PowerShell. The same sample works when I run it from mintty.
I'm using rust 0.10 on Windows 7 x64.
readline_sample.rs
PowerShell output
mintty output
The text was updated successfully, but these errors were encountered: