You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #12221 - Swatinem:enable-doctest-in-workspace, r=weihanglo
Enable `doctest-in-workspace` by default
This stabilizes and enables the `-Z doctest-in-workspace` flag by default.
Also adds another testcase to make sure that the `include!()` and `file!()` macros interact well together.
fixes#9427fixesrust-lang/rust#46372
*[target-applies-to-host](#target-applies-to-host) --- Alters whether certain flags will be passed to host build targets.
87
87
* rustdoc
88
-
*[`doctest-in-workspace`](#doctest-in-workspace) --- Fixes workspace-relative paths when running doctests.
89
88
*[rustdoc-map](#rustdoc-map) --- Provides mappings for documentation to link to external sites like [docs.rs](https://docs.rs/).
90
89
*[scrape-examples](#scrape-examples) --- Shows examples within documentation.
91
90
*`Cargo.toml` extensions
@@ -1793,3 +1792,11 @@ See [Registry Protocols](registries.md#registry-protocols) for more information.
1793
1792
The [`cargo logout`] command has been stabilized in the 1.70 release.
0 commit comments