diff options
Diffstat (limited to 'src/bootstrap/tool.rs')
| -rw-r--r-- | src/bootstrap/tool.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index e5783e346f4..89b1b113797 100644 --- a/src/bootstrap/tool.rs +++ b/src/bootstrap/tool.rs @@ -236,7 +236,7 @@ impl Step for RemoteTestServer { #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct Rustdoc { - pub target_compiler: Compiler, + pub host: Interned<String>, } impl Step for Rustdoc { @@ -250,13 +250,13 @@ impl Step for Rustdoc { fn make_run(run: RunConfig) { run.builder.ensure(Rustdoc { - target_compiler: run.builder.compiler(run.builder.top_stage, run.host), + host: run.host, }); } fn run(self, builder: &Builder) -> PathBuf { let build = builder.build; - let target_compiler = self.target_compiler; + let target_compiler = builder.compiler(builder.top_stage, self.host); let target = target_compiler.host; let build_compiler = if target_compiler.stage == 0 { builder.compiler(0, builder.build.build) |
