change based on reviews
This commit is contained in:
@@ -121,7 +121,7 @@ crate struct Options {
|
|||||||
/// For example, using ignore-foo to ignore running the doctest on any target that
|
/// For example, using ignore-foo to ignore running the doctest on any target that
|
||||||
/// contains "foo" as a substring
|
/// contains "foo" as a substring
|
||||||
crate enable_per_target_ignores: bool,
|
crate enable_per_target_ignores: bool,
|
||||||
/// Compile test but do not run them.
|
/// Do not run doctests, compile them if should_test is active.
|
||||||
crate no_run: bool,
|
crate no_run: bool,
|
||||||
|
|
||||||
/// The path to a rustc-like binary to build tests with. If not set, we
|
/// The path to a rustc-like binary to build tests with. If not set, we
|
||||||
|
|||||||
@@ -536,7 +536,7 @@ fn opts() -> Vec<RustcOptGroup> {
|
|||||||
"[unversioned-shared-resources,toolchain-shared-resources,invocation-specific]",
|
"[unversioned-shared-resources,toolchain-shared-resources,invocation-specific]",
|
||||||
)
|
)
|
||||||
}),
|
}),
|
||||||
unstable("no-run", |o| o.optflag("", "no-run", "Compile doc tests without running it")),
|
unstable("no-run", |o| o.optflag("", "no-run", "Compile doctests without running them")),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user