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