mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
Change preexisting "doc-test" to "doctest"
This commit is contained in:
+2
-2
@@ -900,7 +900,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) {
|
||||
}
|
||||
|
||||
if crossmode {
|
||||
show_error(format!("cross-interpreting doc-tests is not currently supported by Miri."));
|
||||
show_error(format!("cross-interpreting doctests is not currently supported by Miri."));
|
||||
}
|
||||
|
||||
// Doctests of `proc-macro` crates (and their dependencies) are always built for the host,
|
||||
@@ -910,7 +910,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) {
|
||||
return;
|
||||
}
|
||||
|
||||
// For each doc-test, rustdoc starts two child processes: first the test is compiled,
|
||||
// For each doctest, rustdoc starts two child processes: first the test is compiled,
|
||||
// then the produced executable is invoked. We want to reroute both of these to cargo-miri,
|
||||
// such that the first time we'll enter phase_cargo_rustc, and phase_cargo_runner second.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user