From 0a113507715c363613c660d893a0305eede91d9e Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 7 Mar 2022 15:04:39 +0800 Subject: [PATCH] leave a bread crumb for image creation debugging because I can never remember how to flip that debug environment variable on windows --- xtask/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 87257e560..bdab7ee96 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -578,6 +578,7 @@ fn build_hw_image( // Tools use this environment variable to know when to rebuild the UTRA crate. std::env::set_var("XOUS_SVD_FILE", path.canonicalize().unwrap()); println!("XOUS_SVD_FILE: {}", path.canonicalize().unwrap().display()); + // std::env::set_var("RUST_LOG", "debug"); // set this to debug the image creation process // extract key file names; replace with defaults if not specified let loaderkey_file = lkey.unwrap_or_else(|| "devkey/dev.key".into()); @@ -1429,4 +1430,4 @@ fn overwrite_if_changed(new_string: &String, old_file: &str) { .open(old_file).expect("Can't open our gam manifest for writing"); write!(new_file, "{}", new_string).unwrap() } -} \ No newline at end of file +}