From 09cad1b8a56adce59df92a588e43552dc2f832f0 Mon Sep 17 00:00:00 2001 From: Wesley Norris Date: Mon, 31 Dec 2018 18:05:57 -0500 Subject: [PATCH] Add book section and fix typo. --- src/dlmalloc | 1 - src/doc/rustdoc/src/unstable-features.md | 4 ++++ src/libcompiler_builtins | 1 - src/liblibc | 1 - src/librustdoc/config.rs | 3 ++- src/librustdoc/lib.rs | 1 + 6 files changed, 7 insertions(+), 4 deletions(-) delete mode 160000 src/dlmalloc delete mode 160000 src/libcompiler_builtins delete mode 160000 src/liblibc diff --git a/src/dlmalloc b/src/dlmalloc deleted file mode 160000 index c99638dc2ecf..000000000000 --- a/src/dlmalloc +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c99638dc2ecfc750cc1656f6edb2bd062c1e0981 diff --git a/src/doc/rustdoc/src/unstable-features.md b/src/doc/rustdoc/src/unstable-features.md index 905b06465340..92ea366686cc 100644 --- a/src/doc/rustdoc/src/unstable-features.md +++ b/src/doc/rustdoc/src/unstable-features.md @@ -417,3 +417,7 @@ JavaScript, and font files in a single location, rather than duplicating it once (grouping of crate docs generated into the same output directory, like with `cargo doc`). Per-crate files like the search index will still load from the documentation root, but anything that gets renamed with `--resource-suffix` will load from the given path. + +### `--persist-doctests`: persist doctest executables after running + +This feature allows the persistence of the doctest executables to the specified path. \ No newline at end of file diff --git a/src/libcompiler_builtins b/src/libcompiler_builtins deleted file mode 160000 index fe74674f6e4b..000000000000 --- a/src/libcompiler_builtins +++ /dev/null @@ -1 +0,0 @@ -Subproject commit fe74674f6e4be76d47b66f67d529ebf4186f4eb1 diff --git a/src/liblibc b/src/liblibc deleted file mode 160000 index c75ca6465a13..000000000000 --- a/src/liblibc +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c75ca6465a139704e00295be355b1f067af2f535 diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index 1c14dbf1cef8..635d071b8e06 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -68,7 +68,8 @@ pub struct Options { pub should_test: bool, /// List of arguments to pass to the test harness, if running tests. pub test_args: Vec, - /// Otional path to persist the doctest executables to. + /// Optional path to persist the doctest executables to, defaults to a + /// temporary directory if not set. pub persist_doctests: Option, // Options that affect the documentation process diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 08bbc95ad652..4bbc01d32de3 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -340,6 +340,7 @@ fn opts() -> Vec { o.optflag("", "disable-per-crate-search", "disables generating the crate selector on the search box") + }), unstable("persist-doctests", |o| { o.optopt("", "persist-doctests",