Fix x.py install
Make sure we look for save analysis in the right place. Fixes #61703.
This commit is contained in:
parent
02564de47b
commit
4f3cd3ca07
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue