Skip to content

Commit b365b0f

Browse files
committed
Revert "fix running doctest for host target"
This reverts commit 060c5e1.
1 parent 060c5e1 commit b365b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn run_doc_tests(
144144
let mut runtool: &Option<(std::path::PathBuf, Vec<String>)> = &None;
145145
if doctest_xcompile {
146146
runtool = compilation.target_runner();
147-
} else if !options.compile_opts.build_config.requested_kind.is_host() {
147+
} else if options.compile_opts.build_config.requested_kind.is_host() {
148148
return Ok((Test::Doc, errors));
149149
}
150150

0 commit comments

Comments
 (0)