Skip to content

Commit bb6377c

Browse files
danakjAravind Vasudevan
authored andcommitted
Add --sync src/tools/cargo/Cargo.toml for Rust toolchain cargo vendor
Upstream's nightly tarball maker has added this Cargo.toml file to its list of sync targets, and we need to match. R=zequanwu@google.com Bug: 1441917 Change-Id: I8cfbda9a5cdb79a7d7f5c4b77748b99f4fd9561a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4507181 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by: Zequan Wu <zequanwu@google.com> Cr-Commit-Position: refs/heads/main@{#1139678} NOKEYCHECK=True GitOrigin-RevId: 11ac6084f6f9577bfdc761d7bdd483849b5298a7
1 parent f7f3759 commit bb6377c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build_rust.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def CargoVendor(cargo_bin):
270270
else:
271271
sys.exit(1)
272272

273-
# From https://github.com/rust-lang/rust/blob/master/src/bootstrap/dist.rs#L986-L995:
273+
# From https://github.com/rust-lang/rust/blob/master/src/bootstrap/dist.rs#L1003-L1013:
274274
# The additional `--sync` Cargo.toml files are not part of the top level
275275
# workspace.
276276
vendor_cmd = [
@@ -279,6 +279,8 @@ def CargoVendor(cargo_bin):
279279
'--locked',
280280
'--versioned-dirs',
281281
'--sync',
282+
'src/tools/cargo/Cargo.toml',
283+
'--sync',
282284
'src/tools/rust-analyzer/Cargo.toml',
283285
'--sync',
284286
'compiler/rustc_codegen_cranelift/Cargo.toml',

0 commit comments

Comments
 (0)