Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix running doctest for host target
  • Loading branch information
Freax13 committed Apr 14, 2020
commit 060c5e13e123683bce605c420bff95b2205fd131
2 changes: 1 addition & 1 deletion src/cargo/ops/cargo_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ fn run_doc_tests(
let mut runtool: &Option<(std::path::PathBuf, Vec<String>)> = &None;
if doctest_xcompile {
runtool = compilation.target_runner();
} else if options.compile_opts.build_config.requested_kind.is_host() {
} else if !options.compile_opts.build_config.requested_kind.is_host() {
return Ok((Test::Doc, errors));
}

Expand Down