We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
x test core
1 parent 10b7e46 commit a2ab47fCopy full SHA for a2ab47f
src/bootstrap/compile.rs
@@ -1358,7 +1358,12 @@ impl Step for Sysroot {
1358
// newly compiled std, not the downloaded std.
1359
add_filtered_files("lib", builder.config.ci_rust_std_contents());
1360
1361
- let filtered_extensions = [OsStr::new("rmeta"), OsStr::new("rlib"), OsStr::new("so")];
+ 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
+ ];
1367
let ci_rustc_dir = builder.ci_rustc_dir(builder.config.build);
1368
builder.cp_filtered(&ci_rustc_dir, &sysroot, &|path| {
1369
if path.extension().map_or(true, |ext| !filtered_extensions.contains(&ext)) {
0 commit comments