Support custom target files

This commit is contained in:
Thomas Versteeg
2022-04-04 17:28:21 +02:00
parent 8e6556699d
commit cf19afbb7f
+3 -1
View File
@@ -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");