diff options
| author | onur-ozkan <work@onurozkan.dev> | 2023-11-03 09:15:26 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2023-11-03 09:15:26 +0300 |
| commit | fedfca71ed556e2ebd879636cec0cb1af4b90218 (patch) | |
| tree | 5c067a8fca6890bda6b67404154363ab1a85b048 /src/bootstrap | |
| parent | e8418e092a643ef87019192af7ed6bbd23cc4a63 (diff) | |
| download | rust-fedfca71ed556e2ebd879636cec0cb1af4b90218.tar.gz rust-fedfca71ed556e2ebd879636cec0cb1af4b90218.zip | |
Revert "bootstrap: do not purge docs on CI environment"
This reverts commit 6198e881d363730900b7b0d4fa8311b3844421a7.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/builder.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs index 2903bcfa1ec..90e09d12a9d 100644 --- a/src/bootstrap/src/core/builder.rs +++ b/src/bootstrap/src/core/builder.rs @@ -28,7 +28,6 @@ pub use crate::Compiler; // - use std::lazy for `Lazy` // - use std::cell for `OnceCell` // Once they get stabilized and reach beta. -use build_helper::ci::CiEnv; use clap::ValueEnum; use once_cell::sync::{Lazy, OnceCell}; @@ -1274,12 +1273,7 @@ impl<'a> Builder<'a> { self.clear_if_dirty(&out_dir, &backend); } - if cmd == "doc" - || cmd == "rustdoc" - // FIXME: We shouldn't need to check this. - // ref https://github.com/rust-lang/rust/issues/117430#issuecomment-1788160523 - && !CiEnv::is_ci() - { + if cmd == "doc" || cmd == "rustdoc" { let my_out = match mode { // This is the intended out directory for compiler documentation. Mode::Rustc | Mode::ToolRustc => self.compiler_doc_out(target), |
