@@ -121,6 +121,17 @@ static TARGETS: &'static [&'static str] = &[
121121 "x86_64-unknown-redox" ,
122122] ;
123123
124+ static DOCS_TARGETS : & ' static [ & ' static str ] = & [
125+ "i686-apple-darwin" ,
126+ "i686-pc-windows-gnu" ,
127+ "i686-pc-windows-msvc" ,
128+ "i686-unknown-linux-gnu" ,
129+ "x86_64-apple-darwin" ,
130+ "x86_64-pc-windows-gnu" ,
131+ "x86_64-pc-windows-msvc" ,
132+ "x86_64-unknown-linux-gnu" ,
133+ ] ;
134+
124135static MINGW : & ' static [ & ' static str ] = & [
125136 "i686-pc-windows-gnu" ,
126137 "x86_64-pc-windows-gnu" ,
@@ -338,7 +349,7 @@ impl Builder {
338349 self . package ( "cargo" , & mut manifest. pkg , HOSTS ) ;
339350 self . package ( "rust-mingw" , & mut manifest. pkg , MINGW ) ;
340351 self . package ( "rust-std" , & mut manifest. pkg , TARGETS ) ;
341- self . package ( "rust-docs" , & mut manifest. pkg , TARGETS ) ;
352+ self . package ( "rust-docs" , & mut manifest. pkg , DOCS_TARGETS ) ;
342353 self . package ( "rust-src" , & mut manifest. pkg , & [ "*" ] ) ;
343354 self . package ( "rls-preview" , & mut manifest. pkg , HOSTS ) ;
344355 self . package ( "clippy-preview" , & mut manifest. pkg , HOSTS ) ;
0 commit comments