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
Hi, this combination might be out of scope but I can spend some time helping diagnose it.
Compiling in Windows 10, the program runs fine under PowerShell and CMD.EXE, but crashes when run from the Cygwin console:
$ cargo run
Compiling lf v0.1.0 (C:\cygwin\home\user\linefeed-crash)
warning: variable does not need to be mutable
--> src\main.rs:13:7
|
13 | let mut reader = Interface::new("my-application")?;
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: 1 warning emitted
Finished dev [unoptimized + debuginfo] target(s) in 11.76s
Running `target\debug\lf.exe`
Hello, world!
Error: Os { code: 6, kind: Other, message: "The handle is invalid." }
$
The error happens on line 13 of the attached file: let mut reader = Interface::new("my-application")?; main.rs.txt
Is this a known issue?
The text was updated successfully, but these errors were encountered:
Hi, this combination might be out of scope but I can spend some time helping diagnose it.
Compiling in Windows 10, the program runs fine under PowerShell and CMD.EXE, but crashes when run from the Cygwin console:
The error happens on line 13 of the attached file:
let mut reader = Interface::new("my-application")?;
main.rs.txt
Is this a known issue?
The text was updated successfully, but these errors were encountered: