We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c85a71e commit 1f0d328Copy full SHA for 1f0d328
src/cargo/ops/cargo_test.rs
@@ -200,11 +200,12 @@ fn run_doc_tests(
200
p.arg(unit.target.src_path().path().unwrap());
201
}
202
203
+ if let CompileKind::Target(target) = unit.kind {
204
+ // use `rustc_target()` to properly handle JSON target paths
205
+ p.arg("--target").arg(target.rustc_target());
206
+ }
207
+
208
if doctest_xcompile {
- if let CompileKind::Target(target) = unit.kind {
- // use `rustc_target()` to properly handle JSON target paths
- p.arg("--target").arg(target.rustc_target());
- }
209
p.arg("-Zunstable-options");
210
p.arg("--enable-per-target-ignores");
211
if let Some((runtool, runtool_args)) = compilation.target_runner(unit.kind) {
0 commit comments