Skip to content

Commit

Permalink
Startup objects disappearing from sysroot
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Nikokrock committed Feb 9, 2024
1 parent 98aa362 commit 575e0aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ impl Step for Std {
{
builder.info("WARNING: Using a potentially old libstd. This may not behave well.");

builder.ensure(StartupObjects { compiler, target });

self.copy_extra_objects(builder, &compiler, target);

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

0 comments on commit 575e0aa

Please sign in to comment.