From 31748ab4d425ad4a4ebaa093b3ee5493a005c89c Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Thu, 15 Jul 2021 16:44:55 +0800 Subject: [PATCH] xtask: fix build warnings due to renode refactor The Renode refactor didn't propagate the `debug` flag. Additionally, the `TryInto` import is no longer used. Fix both warnings. Signed-off-by: Sean Cross --- xtask/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index e09971195..a80f74edc 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -1,5 +1,4 @@ use std::{ - convert::TryInto, env, io::{Read, Write}, path::{Path, PathBuf, MAIN_SEPARATOR}, @@ -426,7 +425,7 @@ fn renode_image(debug: bool, packages: &[&str]) -> Result<(), DynError> { Err("Unable to regenerate Renode platform file")?; } build_hw_image( - false, + debug, Some("emulation/soc/renode.svd".to_owned()), packages, None,