Skip to content

Commit 575e0aa

Browse files
committed
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
1 parent 98aa362 commit 575e0aa

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)