mirror of
https://github.com/rust-lang/cargo
synced 2024-08-27 19:29:21 +00:00
refactor: rustdoc --test-run-directory
is stabilized
This commit is contained in:
parent
8cb220f5eb
commit
1f581e79cf
|
@ -217,8 +217,6 @@ fn run_doc_tests(
|
|||
|
||||
if doctest_in_workspace {
|
||||
add_path_args(ws, unit, &mut p);
|
||||
// FIXME(swatinem): remove the `unstable-options` once rustdoc stabilizes the `test-run-directory` option
|
||||
p.arg("-Z").arg("unstable-options");
|
||||
p.arg("--test-run-directory")
|
||||
.arg(unit.pkg.root().to_path_buf());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue