refactor: rustdoc --test-run-directory is stabilized

This commit is contained in:
Weihang Lo 2023-06-01 20:47:33 +01:00
parent 8cb220f5eb
commit 1f581e79cf
No known key found for this signature in database
GPG key ID: D7DBF189825E82E7

View file

@ -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 {