@@ -121,6 +121,17 @@ static TARGETS: &'static [&'static str] = &[
121
121
"x86_64-unknown-redox" ,
122
122
] ;
123
123
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
+
124
135
static MINGW : & ' static [ & ' static str ] = & [
125
136
"i686-pc-windows-gnu" ,
126
137
"x86_64-pc-windows-gnu" ,
@@ -338,7 +349,7 @@ impl Builder {
338
349
self . package ( "cargo" , & mut manifest. pkg , HOSTS ) ;
339
350
self . package ( "rust-mingw" , & mut manifest. pkg , MINGW ) ;
340
351
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 ) ;
342
353
self . package ( "rust-src" , & mut manifest. pkg , & [ "*" ] ) ;
343
354
self . package ( "rls-preview" , & mut manifest. pkg , HOSTS ) ;
344
355
self . package ( "clippy-preview" , & mut manifest. pkg , HOSTS ) ;
0 commit comments