diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-11-09 20:51:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-09 20:51:17 +0200 |
| commit | 3d2ffa06ea4e04dbda99d7038e9afd04c040b472 (patch) | |
| tree | 5a478d7f580a011424fc88ee25fd39141764b84b /src/bootstrap/lib.rs | |
| parent | e10e49d815a0b4cd362e652f9855592b7918e711 (diff) | |
| parent | 31a8638e5e716bec90f4398a57c58fb34e492667 (diff) | |
| download | rust-3d2ffa06ea4e04dbda99d7038e9afd04c040b472.tar.gz rust-3d2ffa06ea4e04dbda99d7038e9afd04c040b472.zip | |
Rollup merge of #37524 - alexcrichton:vendor, r=brson
Vendor all rustbuild dependencies in this repo This commit vendors all crates.io dependencies into the rust-lang/rust repository using the `cargo-vendor` tool. This is done in an effort to make rustbuild distro-ready by ensuring that our source tarballs are self-contained units which don't need extraneous network downloads. A new `src/vendor` directory is created with all vendored crates, and Cargo, when using rustbuild, is configured to use this directory. Over time we can deduplicate this directory with the actual src tree (e.g. src/librustc_serialize, src/liblibc, src/libgetopts, ...). For now though that's left to a separate commit.
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 3f8e3fe5312..e6b88ea58c9 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -460,6 +460,9 @@ impl Build { if self.config.rust_optimize { cargo.arg("--release"); } + if self.config.vendor { + cargo.arg("--frozen"); + } return cargo } |
