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 <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-07-15 16:44:55 +08:00
parent 8c7963d65b
commit 31748ab4d4

View file

@ -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,