diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-13 01:49:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-13 01:49:31 +0200 |
| commit | 4cbae09efabd9bf25c9fe9ad6737ff125d135f54 (patch) | |
| tree | fab9bc69a8a9e1ba5bb7fb782baf73ab19c2d6c1 | |
| parent | 0d8d08d067294b8ddbfd3e6cdb1efb0f834e8f2e (diff) | |
| parent | 4f3cd3ca07f9583d503ad9b260a8d397ebf10055 (diff) | |
| download | rust-4cbae09efabd9bf25c9fe9ad6737ff125d135f54.tar.gz rust-4cbae09efabd9bf25c9fe9ad6737ff125d135f54.zip | |
Rollup merge of #61750 - tmandry:fix-install, r=Mark-Simulacrum
Fix x.py install Make sure we look for save analysis in the right place. Fixes #61703. r? @Mark-Simulacrum cc @petrhosek @cramertj
| -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); |
