The same `rustc` version must be used to compile the debugger and the target executable. This is due to implicit ABI dependency everywhere.
()
| 1257 | /// The same `rustc` version must be used to compile the debugger and the target executable. |
| 1258 | /// This is due to implicit ABI dependency everywhere. |
| 1259 | pub fn check_rustc_version() { |
| 1260 | let rustc_version = rustc_version(); |
| 1261 | if rustc_version != SUPPORTED_RUSTC_VERSION { |
| 1262 | panic!("Mismatched `rustc` version: expect `{SUPPORTED_RUSTC_VERSION}`, found `{rustc_version}`. Please install a matching FireDBG version."); |
| 1263 | } |
| 1264 | } |