File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ fn main() {
11
11
let args = env:: args_os ( ) . skip ( 1 ) . collect :: < Vec < _ > > ( ) ;
12
12
let rustdoc = env:: var_os ( "RUSTDOC_REAL" ) . expect ( "RUSTDOC_REAL was not set" ) ;
13
13
let libdir = env:: var_os ( "RUSTDOC_LIBDIR" ) . expect ( "RUSTDOC_LIBDIR was not set" ) ;
14
- let stage = env:: var ( "RUSTC_STAGE" ) . expect ( "RUSTC_STAGE was not set" ) ;
15
14
let sysroot = env:: var_os ( "RUSTC_SYSROOT" ) . expect ( "RUSTC_SYSROOT was not set" ) ;
16
15
17
16
use std:: str:: FromStr ;
@@ -26,8 +25,6 @@ fn main() {
26
25
27
26
let mut cmd = Command :: new ( rustdoc) ;
28
27
cmd. args ( & args)
29
- . arg ( "--cfg" )
30
- . arg ( format ! ( "stage{}" , stage) )
31
28
. arg ( "--sysroot" )
32
29
. arg ( & sysroot)
33
30
. env ( bootstrap:: util:: dylib_path_var ( ) , env:: join_paths ( & dylib_path) . unwrap ( ) ) ;
You can’t perform that action at this time.
0 commit comments