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:
parent
92df5a5425
commit
89c0998aee
2
.github/workflows/msrv-rust-toolchain.toml
vendored
2
.github/workflows/msrv-rust-toolchain.toml
vendored
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user