diff options
| author | Eric Huss <eric@huss.org> | 2020-08-14 14:50:18 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2020-08-14 14:50:18 -0700 |
| commit | 73b7a0403235732daa0664bfd1bd3279b7ab5cb6 (patch) | |
| tree | e700874aafeba6e1d5271605d46fae070e21ab8e /src/bootstrap/bin | |
| parent | 8e21bd0633b8d970646ee6eb706c9e8acfad19af (diff) | |
Fix crate-version with rustdoc in bootstrap.
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/rustdoc.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs index 8c56cf1cb34..ab846adf942 100644 --- a/src/bootstrap/bin/rustdoc.rs +++ b/src/bootstrap/bin/rustdoc.rs @@ -48,12 +48,6 @@ fn main() { cmd.arg(arg); } - // Bootstrap's Cargo-command builder sets this variable to the current Rust version; let's pick - // it up so we can make rustdoc print this into the docs - if let Some(version) = env::var_os("RUSTDOC_CRATE_VERSION") { - cmd.arg("--crate-version").arg(version); - } - // Needed to be able to run all rustdoc tests. if let Some(ref x) = env::var_os("RUSTDOC_RESOURCE_SUFFIX") { // This "unstable-options" can be removed when `--resource-suffix` is stabilized |
