mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
xtask: trim version string
This prevents it from constantly asking you to upgrade. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
59879d4d43
commit
dd0c01d2e4
1 changed files with 2 additions and 2 deletions
|
|
@ -604,8 +604,8 @@ fn ensure_compiler(target: &Option<&str>) -> Result<(), String> {
|
|||
}
|
||||
|
||||
let rustc_version_str = format!("{}", rustc_version::version().unwrap());
|
||||
if version_str != rustc_version_str {
|
||||
println!("Version upgrade. Compiler is version {}, the installed toolchain is for {}", version_str, rustc_version_str);
|
||||
if version_str.trim() != rustc_version_str.trim() {
|
||||
println!("Version upgrade. Compiler is version {}, the installed toolchain is for {}", version_str.trim(), rustc_version_str.trim());
|
||||
// return Err(format!("Version upgrade. Compiler is version {}, the installed toolchain is for {}", version_str, rustc_version_str));
|
||||
return Ok(None);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue