diff options
| author | Andreas Jonson <andjo403@users.noreply.github.com> | 2019-09-01 08:49:26 +0200 |
|---|---|---|
| committer | Andreas Jonson <andjo403@users.noreply.github.com> | 2019-09-01 08:50:23 +0200 |
| commit | f0b30c7ded69123cffe26b54fb1feedf45d1c5a8 (patch) | |
| tree | 12867b40dfd5b5a0a0af1e816859f2be9167fde4 /src/doc/rustdoc | |
| parent | 59cc53e6e708e9b9e86822c1b4d69f28f6c45eae (diff) | |
| download | rust-f0b30c7ded69123cffe26b54fb1feedf45d1c5a8.tar.gz rust-f0b30c7ded69123cffe26b54fb1feedf45d1c5a8.zip | |
remove the unstable rustdoc parameter --linker
use the code generation parameter -Clinker (same parameter as rustc) to control what linker to use for building the rustdoc test executables. closes: #63816
Diffstat (limited to 'src/doc/rustdoc')
| -rw-r--r-- | src/doc/rustdoc/src/unstable-features.md | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/doc/rustdoc/src/unstable-features.md b/src/doc/rustdoc/src/unstable-features.md index 6e32468b64d..993fc841283 100644 --- a/src/doc/rustdoc/src/unstable-features.md +++ b/src/doc/rustdoc/src/unstable-features.md @@ -311,19 +311,6 @@ When `rustdoc` receives this flag, it will print an extra "Version (version)" in the crate root's docs. You can use this flag to differentiate between different versions of your library's documentation. -### `--linker`: control the linker used for documentation tests - -Using this flag looks like this: - -```bash -$ rustdoc --test src/lib.rs -Z unstable-options --linker foo -$ rustdoc --test README.md -Z unstable-options --linker foo -``` - -When `rustdoc` runs your documentation tests, it needs to compile and link the tests as executables -before running them. This flag can be used to change the linker used on these executables. It's -equivalent to passing `-C linker=foo` to `rustc`. - ### `--sort-modules-by-appearance`: control how items on module pages are sorted Using this flag looks like this: |
