Skip to content

Commit eb105a5

Browse files
bors[bot]burrbull
andauthored
Merge #517
517: fix log r=Emilgardis a=burrbull Fix #516 Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com>
2 parents f88b0de + 3056542 commit eb105a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ fn run() -> Result<()> {
102102
}
103103
}
104104

105-
let device = svd::parse(xml)?;
106-
107105
let config_filename = matches.value_of("config").unwrap_or("");
108106

109107
let cfg = with_toml_env(&matches, &[config_filename, "svd2rust.toml"]);
110108

111109
setup_logging(&cfg);
112110

111+
let device = svd::parse(xml)?;
112+
113113
let target = cfg
114114
.grab()
115115
.arg("target")

0 commit comments

Comments
 (0)