diff options
| -rw-r--r-- | src/bootstrap/install.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/install.rs b/src/bootstrap/install.rs index 0047be4d595..557586709c6 100644 --- a/src/bootstrap/install.rs +++ b/src/bootstrap/install.rs @@ -251,7 +251,10 @@ install!((self, builder, _config), }; Analysis, "analysis", Self::should_build(_config), only_hosts: false, { builder.ensure(dist::Analysis { - compiler: self.compiler, + // Find the actual compiler (handling the full bootstrap option) which + // produced the save-analysis data because that data isn't copied + // through the sysroot uplifting. + compiler: builder.compiler_for(builder.top_stage, builder.config.build, self.target), target: self.target }); install_analysis(builder, self.compiler.stage, self.target); |
