forked from Lainports/freebsd-ports
Announce: https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-06-30 Tested by: mikael, pkubaj Differential Revision: https://reviews.freebsd.org/D35675
17 lines
674 B
Rust
17 lines
674 B
Rust
Only install docs for the host target
|
|
|
|
It otherwise wastes significant time (there are a lot of individual
|
|
files) and stages host docs, wasm docs, which unstages the host
|
|
docs first.
|
|
|
|
--- src/bootstrap/install.rs.orig 2022-05-01 20:28:31 UTC
|
|
+++ src/bootstrap/install.rs
|
|
@@ -138,7 +138,7 @@ macro_rules! install {
|
|
}
|
|
|
|
install!((self, builder, _config),
|
|
- Docs, path = "src/doc", _config.docs, only_hosts: false, {
|
|
+ Docs, path = "src/doc", _config.docs, only_hosts: true, {
|
|
let tarball = builder.ensure(dist::Docs { host: self.target }).expect("missing docs");
|
|
install_sh(builder, "docs", self.compiler.stage, Some(self.target), &tarball);
|
|
};
|