We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e00e916 commit 877d577Copy full SHA for 877d577
src/bootstrap/src/core/builder.rs
@@ -1272,8 +1272,10 @@ impl<'a> Builder<'a> {
1272
cmd.env("MIRI", &miri);
1273
cmd.env("CARGO", &self.initial_cargo);
1274
// Need to add the run_compiler libs. Not entirely sure why that has to be one stage up from
1275
- // what Miri was built for.
1276
- self.add_rustc_lib_path(run_compiler, &mut cmd);
+ // what Miri was built for. Also, we can't use `add_rustc_lib_path` as that's a NOP on
+ // Windows but without our help Windows can't find the libs here, so we inline what it does
1277
+ // instead.
1278
+ add_dylib_path(self.rustc_lib_paths(run_compiler), &mut cmd);
1279
cmd
1280
}
1281
0 commit comments