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() {
1111 let args = env:: args_os ( ) . skip ( 1 ) . collect :: < Vec < _ > > ( ) ;
1212 let rustdoc = env:: var_os ( "RUSTDOC_REAL" ) . expect ( "RUSTDOC_REAL was not set" ) ;
1313 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" ) ;
1514 let sysroot = env:: var_os ( "RUSTC_SYSROOT" ) . expect ( "RUSTC_SYSROOT was not set" ) ;
1615
1716 use std:: str:: FromStr ;
@@ -26,8 +25,6 @@ fn main() {
2625
2726 let mut cmd = Command :: new ( rustdoc) ;
2827 cmd. args ( & args)
29- . arg ( "--cfg" )
30- . arg ( format ! ( "stage{}" , stage) )
3128 . arg ( "--sysroot" )
3229 . arg ( & sysroot)
3330 . env ( bootstrap:: util:: dylib_path_var ( ) , env:: join_paths ( & dylib_path) . unwrap ( ) ) ;
You can’t perform that action at this time.
0 commit comments