Skip to content

Commit ecffdcc

Browse files
committed
add clarifying comment
1 parent 86d857e commit ecffdcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/ops/cargo_test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ fn run_doc_tests(
164164

165165
if doctest_xcompile {
166166
if let CompileKind::Target(target) = options.compile_opts.build_config.requested_kind {
167+
// use `rustc_target()` to properly handle JSON target paths
167168
p.arg("--target").arg(target.rustc_target());
168169
}
169170
p.arg("-Zunstable-options");

0 commit comments

Comments
 (0)