Skip to content

Commit 4a46914

Browse files
authored
Rollup merge of #120831 - Nikokrock:pr/disappearing_startup_objects, r=onur-ozkan
Startup objects disappearing from sysroot When launching tests with --keep-stage option, startup objects such as rsbegin.o an rsend.o may disappear from the corresponding stageN compiler. Fix issue #120784
2 parents 2f1ac41 + 575e0aa commit 4a46914

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/build_steps/compile.rs

+2
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ impl Step for Std {
173173
{
174174
builder.info("WARNING: Using a potentially old libstd. This may not behave well.");
175175

176+
builder.ensure(StartupObjects { compiler, target });
177+
176178
self.copy_extra_objects(builder, &compiler, target);
177179

178180
builder.ensure(StdLink::from_std(self, compiler));

0 commit comments

Comments
 (0)