Skip to content

Commit

Permalink
Build rustdoc only at the top stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Aug 13, 2017
1 parent ad4acba commit facf5a9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 25 deletions.
19 changes: 8 additions & 11 deletions src/bootstrap/builder.rs
Expand Up @@ -407,22 +407,19 @@ impl<'a> Builder<'a> {
}
}

pub fn rustdoc(&self, compiler: Compiler) -> PathBuf {
self.ensure(tool::Rustdoc { target_compiler: compiler })
pub fn rustdoc(&self, host: Interned<String>) -> PathBuf {
self.ensure(tool::Rustdoc { host })
}

pub fn rustdoc_cmd(&self, compiler: Compiler) -> Command {
pub fn rustdoc_cmd(&self, host: Interned<String>) -> Command {
let mut cmd = Command::new(&self.out.join("bootstrap/debug/rustdoc"));
let compiler = self.compiler(self.top_stage, host);
cmd
.env("RUSTC_STAGE", compiler.stage.to_string())
.env("RUSTC_SYSROOT", if compiler.is_snapshot(&self.build) {
INTERNER.intern_path(self.build.rustc_snapshot_libdir())
} else {
self.sysroot(compiler)
})
.env("RUSTC_LIBDIR", self.rustc_libdir(compiler))
.env("RUSTC_SYSROOT", self.sysroot(compiler))
.env("RUSTC_LIBDIR", self.sysroot_libdir(compiler, self.build.build))
.env("CFG_RELEASE_CHANNEL", &self.build.config.channel)
.env("RUSTDOC_REAL", self.rustdoc(compiler));
.env("RUSTDOC_REAL", self.rustdoc(host));
cmd
}

Expand Down Expand Up @@ -476,7 +473,7 @@ impl<'a> Builder<'a> {
.env("RUSTC_RPATH", self.config.rust_rpath.to_string())
.env("RUSTDOC", self.out.join("bootstrap/debug/rustdoc"))
.env("RUSTDOC_REAL", if cmd == "doc" || cmd == "test" {
self.rustdoc(compiler)
self.rustdoc(compiler.host)
} else {
PathBuf::from("/path/to/nowhere/rustdoc/not/required")
})
Expand Down
6 changes: 3 additions & 3 deletions src/bootstrap/check.rs
Expand Up @@ -164,7 +164,7 @@ impl Step for Cargotest {
try_run(build, cmd.arg(&build.initial_cargo)
.arg(&out_dir)
.env("RUSTC", builder.rustc(compiler))
.env("RUSTDOC", builder.rustdoc(compiler)));
.env("RUSTDOC", builder.rustdoc(compiler.host)));
}
}

Expand Down Expand Up @@ -565,7 +565,7 @@ impl Step for Compiletest {

// Avoid depending on rustdoc when we don't need it.
if mode == "rustdoc" || mode == "run-make" {
cmd.arg("--rustdoc-path").arg(builder.rustdoc(compiler));
cmd.arg("--rustdoc-path").arg(builder.rustdoc(compiler.host));
}

cmd.arg("--src-base").arg(build.src.join("src/test").join(suite));
Expand Down Expand Up @@ -814,7 +814,7 @@ fn markdown_test(builder: &Builder, compiler: Compiler, markdown: &Path) {
}

println!("doc tests for: {}", markdown.display());
let mut cmd = builder.rustdoc_cmd(compiler);
let mut cmd = builder.rustdoc_cmd(compiler.host);
build.add_rust_test_threads(&mut cmd);
cmd.arg("--test");
cmd.arg(markdown);
Expand Down
3 changes: 1 addition & 2 deletions src/bootstrap/dist.rs
Expand Up @@ -413,8 +413,7 @@ impl Step for Rustc {
t!(fs::create_dir_all(image.join("bin")));
cp_r(&src.join("bin"), &image.join("bin"));

install(&builder.ensure(tool::Rustdoc { target_compiler: compiler }),
&image.join("bin"), 0o755);
install(&builder.rustdoc(compiler.host), &image.join("bin"), 0o755);

// Copy runtime DLLs needed by the compiler
if libdir != "bin" {
Expand Down
12 changes: 6 additions & 6 deletions src/bootstrap/doc.rs
Expand Up @@ -260,7 +260,7 @@ fn invoke_rustdoc(builder: &Builder, compiler: Compiler, target: Interned<String
t!(t!(File::create(&version_info)).write_all(info.as_bytes()));
}

let mut cmd = builder.rustdoc_cmd(compiler);
let mut cmd = builder.rustdoc_cmd(compiler.host);

let out = out.join("book");

Expand Down Expand Up @@ -343,7 +343,7 @@ impl Step for Standalone {
}

let html = out.join(filename).with_extension("html");
let rustdoc = builder.rustdoc(compiler);
let rustdoc = builder.rustdoc(compiler.host);
if up_to_date(&path, &html) &&
up_to_date(&footer, &html) &&
up_to_date(&favicon, &html) &&
Expand All @@ -353,7 +353,7 @@ impl Step for Standalone {
continue
}

let mut cmd = builder.rustdoc_cmd(compiler);
let mut cmd = builder.rustdoc_cmd(compiler.host);
cmd.arg("--html-after-content").arg(&footer)
.arg("--html-before-content").arg(&version_info)
.arg("--html-in-header").arg(&favicon)
Expand Down Expand Up @@ -408,7 +408,7 @@ impl Step for Std {
let out = build.doc_out(target);
t!(fs::create_dir_all(&out));
let compiler = builder.compiler(stage, build.build);
let rustdoc = builder.rustdoc(compiler);
let rustdoc = builder.rustdoc(compiler.host);
let compiler = if build.force_use_stage1(compiler, target) {
builder.compiler(1, compiler.host)
} else {
Expand Down Expand Up @@ -493,7 +493,7 @@ impl Step for Test {
let out = build.doc_out(target);
t!(fs::create_dir_all(&out));
let compiler = builder.compiler(stage, build.build);
let rustdoc = builder.rustdoc(compiler);
let rustdoc = builder.rustdoc(compiler.host);
let compiler = if build.force_use_stage1(compiler, target) {
builder.compiler(1, compiler.host)
} else {
Expand Down Expand Up @@ -554,7 +554,7 @@ impl Step for Rustc {
let out = build.doc_out(target);
t!(fs::create_dir_all(&out));
let compiler = builder.compiler(stage, build.build);
let rustdoc = builder.rustdoc(compiler);
let rustdoc = builder.rustdoc(compiler.host);
let compiler = if build.force_use_stage1(compiler, target) {
builder.compiler(1, compiler.host)
} else {
Expand Down
6 changes: 3 additions & 3 deletions src/bootstrap/tool.rs
Expand Up @@ -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 {
Expand All @@ -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)
Expand Down

2 comments on commit facf5a9

@jessicah
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to have broken cross-compiler x.py dist.

Building rustdoc for stage2 (x86_64-unknown-linux-gnu)
    Finished release [optimized] target(s) in 0.0 secs
Documenting book redirect pages (x86_64-unknown-linux-gnu)
Documenting book index (x86_64-unknown-haiku)
Documenting book redirect pages (x86_64-unknown-haiku)
Documenting standalone (x86_64-unknown-linux-gnu)
Documenting standalone (x86_64-unknown-haiku)
Documenting stage2 std (x86_64-unknown-linux-gnu)
    Finished release [optimized] target(s) in 0.0 secs
Documenting stage2 std (x86_64-unknown-haiku)
 Documenting core v0.0.0 (file:///home/jessicah/rust/src/libcore)
 Documenting std_unicode v0.0.0 (file:///home/jessicah/rust/src/libstd_unicode)
 Documenting alloc v0.0.0 (file:///home/jessicah/rust/src/liballoc)
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/int_util.c: In function 'compilerrt_abort_impl':
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/int_util.c:59:1: warning: 'noreturn' function does return
warning:  }
warning:  ^
 Documenting collections v0.0.0 (file:///home/jessicah/rust/src/libcollections)
/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: error while loading shared libraries: libroot.so: cannot open shared object file: No such file or directory
/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: error while loading shared libraries: libroot.so: cannot open shared object file: No such file or directory
 Documenting std v0.0.0 (file:///home/jessicah/rust/src/libstd)
error: Could not document `core`.

Caused by:
  process didn't exit successfully: `/home/jessicah/rust/build/bootstrap/debug/rustdoc --crate-name core src/libcore/lib.rs --target x86_64-unknown-haiku -o /home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/doc -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps` (exit code: 127)
/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdocwarning: build failed, waiting for other jobs to finish...
error: Could not document `alloc`.

Caused by:
  process didn't exit successfully: `/home/jessicah/rust/build/bootstrap/debug/rustdoc --crate-name alloc src/liballoc/lib.rs --target x86_64-unknown-haiku -o /home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/doc -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern core=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libcore-3181dd9e46400ebd.rlib --extern std_unicode=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libstd_unicode-b3230a4723442795.rlib` (exit code: 127)
warning: build failed, waiting for other jobs to finish...
: error while loading shared libraries: libroot.so: cannot open shared object file: No such file or directory
error: Could not document `std_unicode`.

Caused by:
  process didn't exit successfully: `/home/jessicah/rust/build/bootstrap/debug/rustdoc --crate-name std_unicode src/libstd_unicode/lib.rs --target x86_64-unknown-haiku -o /home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/doc -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern core=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libcore-3181dd9e46400ebd.rlib` (exit code: 127)
warning: build failed, waiting for other jobs to finish...
/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: error while loading shared libraries: libroot.so: cannot open shared object file: No such file or directory
error: Could not document `collections`.

Caused by:
  process didn't exit successfully: `/home/jessicah/rust/build/bootstrap/debug/rustdoc --crate-name collections src/libcollections/lib.rs --target x86_64-unknown-haiku -o /home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/doc -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern alloc=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/liballoc-c15d9e20191e711b.rlib --extern core=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libcore-3181dd9e46400ebd.rlib` (exit code: 127)
warning: build failed, waiting for other jobs to finish...
/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: error while loading shared libraries: libroot.so: cannot open shared object file: No such file or directory
error: Could not document `std`.

Caused by:
  process didn't exit successfully: `/home/jessicah/rust/build/bootstrap/debug/rustdoc --crate-name std src/libstd/lib.rs --target x86_64-unknown-haiku -o /home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/doc --cfg feature="backtrace" --cfg feature="panic-unwind" --cfg feature="panic_unwind" -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps -L dependency=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern alloc_system=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/liballoc_system-67992b04c9027e70.rlib --extern libc=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/liblibc-0200a904d71d63a4.rlib --extern unwind=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libunwind-eda6aedbad712bc0.rlib --extern core=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libcore-3181dd9e46400ebd.rlib --extern std_unicode=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libstd_unicode-b3230a4723442795.rlib --extern collections=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libcollections-17d6af9abb88abd5.rlib --extern compiler_builtins=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libcompiler_builtins-fa8533728d55e42b.rlib --extern rand=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/librand-efc56d5e4c2b1ee8.rlib --extern panic_abort=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libpanic_abort-3500a7ebf8df4faa.rlib --extern alloc=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/liballoc-c15d9e20191e711b.rlib --extern panic_unwind=/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/libpanic_unwind-368647e9b9ca3b39.rlib` (exit code: 127)


command did not execute successfully: "/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "doc" "--target" "x86_64-unknown-haiku" "-j" "8" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/home/jessicah/rust/src/libstd/Cargo.toml" "--no-deps" "-p" "alloc" "-p" "collections" "-p" "core" "-p" "std" "-p" "std_unicode"
expected success, got: exit code: 101


failed to run: /home/jessicah/rust/build/bootstrap/debug/bootstrap dist
Build completed unsuccessfully in 0:00:08

Reverting this commit, it now seems to succeed (fails elsewhere with fabricate):

Building rustdoc for stage2 (x86_64-unknown-linux-gnu)
    Finished release [optimized] target(s) in 0.0 secs
Documenting book redirect pages (x86_64-unknown-linux-gnu)
Documenting book index (x86_64-unknown-haiku)
Documenting book redirect pages (x86_64-unknown-haiku)
Documenting standalone (x86_64-unknown-linux-gnu)
Documenting standalone (x86_64-unknown-haiku)
Documenting stage2 std (x86_64-unknown-linux-gnu)
Building rustdoc for stage1 (x86_64-unknown-linux-gnu)
   Compiling pulldown-cmark v0.0.14
   Compiling procedural-masquerade v0.1.2
   Compiling string_cache_shared v0.3.0
   Compiling mac v0.1.1
   Compiling matches v0.1.6
   Compiling rustc-serialize v0.3.24
   Compiling bitflags v0.7.0
   Compiling fnv v1.0.5
   Compiling siphasher v0.2.2
   Compiling smallvec v0.3.3
   Compiling precomputed-hash v0.1.0
   Compiling env_logger v0.4.3
   Compiling utf-8 v0.7.1
   Compiling unreachable v0.1.1
   Compiling filetime v0.1.10
   Compiling rand v0.3.16
   Compiling phf_shared v0.7.21
   Compiling syn v0.11.11
   Compiling debug_unreachable v0.1.1
   Compiling build_helper v0.1.0 (file:///home/jessicah/rust/src/build_helper)
   Compiling phf v0.7.21
   Compiling futf v0.1.3
   Compiling tendril v0.3.1
   Compiling rustdoc v0.0.0 (file:///home/jessicah/rust/src/librustdoc)
   Compiling phf_generator v0.7.21
   Compiling phf_codegen v0.7.21
   Compiling string_cache_codegen v0.4.0
   Compiling selectors v0.18.0
   Compiling string_cache v0.6.2
   Compiling markup5ever v0.3.2
   Compiling cssparser-macros v0.3.0
   Compiling cssparser v0.13.7
   Compiling html5ever v0.18.0
   Compiling kuchiki v0.5.1
   Compiling html-diff v0.0.4
   Compiling rustdoc-tool v0.0.0 (file:///home/jessicah/rust/src/tools/rustdoc)
    Finished release [optimized] target(s) in 137.39 secs
    Finished release [optimized] target(s) in 0.0 secs
Documenting stage2 std (x86_64-unknown-haiku)
 Documenting core v0.0.0 (file:///home/jessicah/rust/src/libcore)
 Documenting std_unicode v0.0.0 (file:///home/jessicah/rust/src/libstd_unicode)
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/int_util.c: In function 'compilerrt_abort_impl':
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/int_util.c:59:1: warning: 'noreturn' function does return
warning:  }
warning:  ^
 Documenting alloc v0.0.0 (file:///home/jessicah/rust/src/liballoc)
 Documenting collections v0.0.0 (file:///home/jessicah/rust/src/libcollections)
 Documenting std v0.0.0 (file:///home/jessicah/rust/src/libstd)
    Finished release [optimized] target(s) in 10.5 secs
Documenting stage2 compiler (x86_64-unknown-linux-gnu)
 Documenting proc_macro v0.0.0 (file:///home/jessicah/rust/src/libproc_macro)
    Finished release [optimized] target(s) in 1.54 secs
Documenting stage2 compiler (x86_64-unknown-haiku)
Building stage1 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-haiku)
    Finished release [optimized] target(s) in 0.0 secs
Copying stage1 test from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-haiku)
Building stage1 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-haiku)
    Finished release [optimized] target(s) in 0.0 secs
Copying stage1 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-haiku)
 Documenting proc_macro v0.0.0 (file:///home/jessicah/rust/src/libproc_macro)
    Finished release [optimized] target(s) in 1.55 secs
Documenting error index (x86_64-unknown-linux-gnu)
Building stage2 tool error_index_generator (x86_64-unknown-linux-gnu)
   Compiling error_index_generator v0.0.0 (file:///home/jessicah/rust/src/tools/error_index_generator)
    Finished release [optimized] target(s) in 5.97 secs
Documenting error index (x86_64-unknown-haiku)
Rustbook (x86_64-unknown-linux-gnu) - nomicon
Rustbook (x86_64-unknown-haiku) - nomicon
Rustbook (x86_64-unknown-linux-gnu) - reference
Rustbook (x86_64-unknown-haiku) - reference
Rustbook (x86_64-unknown-linux-gnu) - rustdoc
Rustbook (x86_64-unknown-haiku) - rustdoc
Creating cargo book redirect page
Creating cargo book redirect page
Building stage0 tool fabricate (x86_64-unknown-linux-gnu)
   Compiling same-file v0.1.3
   Compiling yaml-rust v0.3.5
   Compiling filetime v0.1.10
   Compiling xattr v0.1.11
   Compiling miniz-sys v0.1.9
   Compiling lzma-sys v0.1.8
   Compiling walkdir v1.0.7
   Compiling tar v0.4.13
   Compiling flate2 v0.2.19
   Compiling clap v2.26.0
   Compiling xz2 v0.1.3
   Compiling installer v0.0.0 (file:///home/jessicah/rust/src/tools/rust-installer)
warning: doc comment not used by rustdoc
  --> src/tools/rust-installer/src/lib.rs:27:5
   |
27 | /     error_chain!{
28 | |         foreign_links {
29 | |             Io(::std::io::Error);
30 | |             StripPrefix(::std::path::StripPrefixError);
31 | |             WalkDir(::walkdir::Error);
32 | |         }
33 | |     }
   | |_____^
   |
   = note: #[warn(unused_doc_comment)] on by default
   = note: this error originates in a macro outside of the current crate

warning: doc comment not used by rustdoc
  --> src/tools/rust-installer/src/lib.rs:27:5
   |
27 | /     error_chain!{
28 | |         foreign_links {
29 | |             Io(::std::io::Error);
30 | |             StripPrefix(::std::path::StripPrefixError);
31 | |             WalkDir(::walkdir::Error);
32 | |         }
33 | |     }
   | |_____^
   |
   = note: this error originates in a macro outside of the current crate

warning: doc comment not used by rustdoc
  --> src/tools/rust-installer/src/main.rs:11:5
   |
11 | /     error_chain!{
12 | |         links {
13 | |             Installer(::installer::Error, ::installer::ErrorKind);
14 | |         }
15 | |     }
   | |_____^
   |
   = note: #[warn(unused_doc_comment)] on by default
   = note: this error originates in a macro outside of the current crate

warning: doc comment not used by rustdoc
  --> src/tools/rust-installer/src/main.rs:11:5
   |
11 | /     error_chain!{
12 | |         links {
13 | |             Installer(::installer::Error, ::installer::ErrorKind);
14 | |         }
15 | |     }
   | |_____^
   |
   = note: this error originates in a macro outside of the current crate

    Finished release [optimized] target(s) in 68.21 secs


failed to execute command: "/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/fabricate" "generate" "--product-name=Rust-Documentation" "--rel-manifest-dir=rustlib" "--success-message=Rust-documentation-is-installed." "--image-dir" "/home/jessicah/rust/build/tmp/dist/rust-docs-1.22.0-dev-x86_64-unknown-linux-gnu-image" "--work-dir" "/home/jessicah/rust/build/tmp/dist" "--output-dir" "/home/jessicah/rust/build/dist" "--package-name=rust-docs-1.22.0-dev-x86_64-unknown-linux-gnu" "--component-name=rust-docs" "--legacy-manifest-dirs=rustlib,cargo" "--bulk-dirs=share/doc/rust/html"
error: No such file or directory (os error 2)


failed to run: /home/jessicah/rust/build/bootstrap/debug/bootstrap dist
Build completed unsuccessfully in 0:04:16

@o01eg
Copy link
Contributor

@o01eg o01eg commented on facf5a9 Nov 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jessicah Same for #45345

Please sign in to comment.