Skip to content

Commit

Permalink
Fix x.py install
Browse files Browse the repository at this point in the history
Make sure we look for save analysis in the right place. Fixes #61703.
  • Loading branch information
tmandry committed Jun 11, 2019
1 parent 02564de commit 4f3cd3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/install.rs
Expand Up @@ -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);
Expand Down

0 comments on commit 4f3cd3c

Please sign in to comment.