Added ability to crosscompile doctests

This commit is contained in:
Dario Gonzalez
2019-04-26 13:52:56 -07:00
parent b9de4ef89e
commit 98bd8fd88c
5 changed files with 109 additions and 33 deletions

View File

@@ -355,6 +355,18 @@ fn opts() -> Vec<RustcOptGroup> {
"show-coverage",
"calculate percentage of public items with documentation")
}),
unstable("runtool", |o| {
o.optopt("",
"runtool",
"",
"The tool to run tests with when building for a different target than host")
}),
unstable("runtool-arg", |o| {
o.optmulti("",
"runtool-arg",
"",
"One (of possibly many) arguments to pass to the runtool")
}),
]
}