From: Rust Maintainers Date: Mon, 6 Nov 2017 09:03:32 +0000 (+0000) Subject: d-ignore-removed-submodules X-Git-Tag: archive/raspbian/1.21.0+dfsg1-3+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4f949eda49425952a93b65bf8421af4b4672a6e0;p=rustc.git d-ignore-removed-submodules Gbp-Pq: Name d-ignore-removed-submodules.patch --- diff --git a/src/Cargo.toml b/src/Cargo.toml index 8754d5b2b6..9d537efdf2 100644 --- a/src/Cargo.toml +++ b/src/Cargo.toml @@ -15,28 +15,7 @@ members = [ "tools/remote-test-client", "tools/remote-test-server", "tools/rust-installer", - "tools/cargo", "tools/rustdoc", - "tools/rls", - # FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude - "tools/rls/test_data/borrow_error", - "tools/rls/test_data/completion", - "tools/rls/test_data/find_all_refs", - "tools/rls/test_data/find_all_refs_no_cfg_test", - "tools/rls/test_data/goto_def", - "tools/rls/test_data/highlight", - "tools/rls/test_data/hover", - "tools/rls/test_data/rename", - "tools/rls/test_data/reformat", - "tools/rls/test_data/bin_lib_no_cfg_test", - "tools/rls/test_data/multiple_bins", - "tools/rls/test_data/bin_lib", - "tools/rls/test_data/reformat_with_range", - "tools/rls/test_data/find_impls", - "tools/rls/test_data/infer_bin", - "tools/rls/test_data/infer_custom_bin", - "tools/rls/test_data/infer_lib", - "tools/rls/test_data/omit_init_build", ] # Curiously, compiletest will segfault if compiled with opt-level=3 on 64-bit diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index e9cff5357a..4a9789aa6d 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -510,10 +510,6 @@ class RustBuild(object): args.append("--verbose") if self.verbose > 1: args.append("--verbose") - if self.use_locked_deps: - args.append("--locked") - if self.use_vendored_sources: - args.append("--frozen") run(args, env=env, verbose=self.verbose) def build_triple(self): diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 298f6a004a..3d0c94e7d7 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -579,10 +579,7 @@ impl<'a> Builder<'a> { if self.config.rust_optimize && cmd != "bench" { cargo.arg("--release"); } - if self.config.locked_deps { - cargo.arg("--locked"); - } - if self.config.vendor || self.is_sudo { + if self.is_sudo { cargo.arg("--frozen"); }