File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1358,7 +1358,12 @@ impl Step for Sysroot {
1358
1358
// newly compiled std, not the downloaded std.
1359
1359
add_filtered_files ( "lib" , builder. config . ci_rust_std_contents ( ) ) ;
1360
1360
1361
- let filtered_extensions = [ OsStr :: new ( "rmeta" ) , OsStr :: new ( "rlib" ) , OsStr :: new ( "so" ) ] ;
1361
+ let filtered_extensions = [
1362
+ OsStr :: new ( "rmeta" ) ,
1363
+ OsStr :: new ( "rlib" ) ,
1364
+ // FIXME: this is wrong when compiler.host != build, but we don't support that today
1365
+ OsStr :: new ( std:: env:: consts:: DLL_EXTENSION ) ,
1366
+ ] ;
1362
1367
let ci_rustc_dir = builder. ci_rustc_dir ( builder. config . build ) ;
1363
1368
builder. cp_filtered ( & ci_rustc_dir, & sysroot, & |path| {
1364
1369
if path. extension ( ) . map_or ( true , |ext| !filtered_extensions. contains ( & ext) ) {
You can’t perform that action at this time.
0 commit comments