fn main() { const TEMPLATE: &str = r#" !!!!!!!!!!!!!!!!!!!!!!!! `probe-rs-debugger` is now a part of `probe-rs`. To install it, {shell}: {install-command} For more information, please refer to the documentation at https://probe.rs/docs/tools/debugger/. !!!!!!!!!!!!!!!!!!!!!!!! "#; let (shell, install_command) = match std::env::consts::OS { "windows" => ("run the following PowerShell command", "irm https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.ps1 | iex"), "linux" | "macos" => ("run the following command", "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.sh | sh"), _ => ("see the installation instructions on the website:", "https://probe.rs/docs/getting-started/installation/"), }; panic!( "{}", TEMPLATE .replace("{shell}", shell) .replace("{install-command}", install_command) ); }