mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04: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]
|
[toolchain]
|
||||||
channel = "1.60.0"
|
channel = "1.57.0"
|
||||||
components = ["rustfmt", "rust-src"]
|
components = ["rustfmt", "rust-src"]
|
||||||
|
@ -302,7 +302,9 @@ pub async fn handle_debugger_message(&mut self, payload: helix_dap::Payload) ->
|
|||||||
.arg(arguments.args.join(" "))
|
.arg(arguments.args.join(" "))
|
||||||
.spawn()
|
.spawn()
|
||||||
.unwrap(),
|
.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 {
|
} else {
|
||||||
std::process::Command::new("tmux")
|
std::process::Command::new("tmux")
|
||||||
|
Loading…
Reference in New Issue
Block a user