Commit 6198e88 1 parent c5afe0a commit 6198e88 Copy full SHA for 6198e88
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ pub use crate::Compiler;
28
28
// - use std::lazy for `Lazy`
29
29
// - use std::cell for `OnceCell`
30
30
// Once they get stabilized and reach beta.
31
+ use build_helper:: ci:: CiEnv ;
31
32
use clap:: ValueEnum ;
32
33
use once_cell:: sync:: { Lazy , OnceCell } ;
33
34
@@ -1273,7 +1274,12 @@ impl<'a> Builder<'a> {
1273
1274
self . clear_if_dirty ( & out_dir, & backend) ;
1274
1275
}
1275
1276
1276
- if cmd == "doc" || cmd == "rustdoc" {
1277
+ if cmd == "doc"
1278
+ || cmd == "rustdoc"
1279
+ // FIXME: We shouldn't need to check this.
1280
+ // ref https://github.com/rust-lang/rust/issues/117430#issuecomment-1788160523
1281
+ && !CiEnv :: is_ci ( )
1282
+ {
1277
1283
let my_out = match mode {
1278
1284
// This is the intended out directory for compiler documentation.
1279
1285
Mode :: Rustc | Mode :: ToolRustc => self . compiler_doc_out ( target) ,
You can’t perform that action at this time.
0 commit comments