mirror of
https://github.com/gnxlxnxx/cargo-dfu.git
synced 2026-07-27 07:13:02 +02:00
Support custom target files
This commit is contained in:
+3
-1
@@ -49,7 +49,9 @@ fn main() {
|
||||
.path(
|
||||
artifact,
|
||||
profile,
|
||||
opt.target.as_deref(),
|
||||
opt.target
|
||||
.as_deref()
|
||||
.map(|target| target.trim_end_matches(".json")),
|
||||
"x86_64-unknown-linux-gnu",
|
||||
)
|
||||
.expect("Couldn't find the build result");
|
||||
|
||||
Reference in New Issue
Block a user