1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

lower MSRV to 1.57.0

This line uses the Display trait for io::ErrorKind which was
stabilized in Rust 1.60.0. We can set MSRV all the way back to
1.57.0 by replacing it with a pretty-print.

Closes #2460.
This commit is contained in:
Michael Davis 2022-05-22 19:13:10 -05:00 committed by Blaž Hrastnik
parent 92df5a5425
commit 89c0998aee
2 changed files with 4 additions and 2 deletions

@ -1,3 +1,3 @@
[toolchain]
channel = "1.60.0"
channel = "1.57.0"
components = ["rustfmt", "rust-src"]

@ -302,7 +302,9 @@ impl Editor {
.arg(arguments.args.join(" "))
.spawn()
.unwrap(),
e => panic!("Error to start debug console: {}", e),
// TODO replace the pretty print {:?} with a regular format {}
// when the MSRV is raised to 1.60.0
e => panic!("Error to start debug console: {:?}", e),
})
} else {
std::process::Command::new("tmux")