Try to fix Windows build case.
This commit is contained in:
@@ -141,6 +141,7 @@ fn main() -> Result<(), BackendError> {
|
|||||||
}
|
}
|
||||||
Err(ReadlineError::Eof) => break,
|
Err(ReadlineError::Eof) => break,
|
||||||
Err(ReadlineError::Interrupted) => break,
|
Err(ReadlineError::Interrupted) => break,
|
||||||
|
#[cfg(not(windows))]
|
||||||
Err(ReadlineError::Errno(e)) => {
|
Err(ReadlineError::Errno(e)) => {
|
||||||
eprintln!("Unknown syscall error: {}", e);
|
eprintln!("Unknown syscall error: {}", e);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user