Skip to content

Commit 92c44e8

Browse files
nicoChromium LUCI CQ
authored andcommitted
Cherry-pick a fix for a rustc change needed by trunk LLVM
Bug: 1508414 Change-Id: I5077183ec32d95b46768c7f1e40ff3bd1699f219 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5090348 Commit-Queue: Hans Wennborg <[email protected]> Auto-Submit: Nico Weber <[email protected]> Reviewed-by: Hans Wennborg <[email protected]> Cr-Commit-Position: refs/heads/main@{#1234381}
1 parent bc02392 commit 92c44e8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tools/rust/build_rust.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
the latest beta is downloaded. If building stable 1.57.0, stage0 is stable
1414
1.56.1.
1515
2. Stage 0 libstd is built. This is different than the libstd downloaded above.
16-
3. Stage 1 rustc is built with rustc from (1) and libstd from (2)
16+
3. Stage 1 rustc is built with rustc from (1)c and libstd from (2)
1717
2. Stage 1 libstd is built with stage 1 rustc. Later artifacts built with
1818
stage 1 rustc are built with stage 1 libstd.
1919
@@ -760,6 +760,17 @@ def main():
760760
GitCherryPick(RUST_SRC_DIR, 'https://github.com/rust-lang/rust.git',
761761
'81cd7c5b11766ed1e3214a2233371fb6d72ed89c')
762762

763+
# TODO: Remove once
764+
# https://github.com/rust-lang/rust/pull/118610 has been merged.
765+
GitCherryPick(RUST_SRC_DIR, 'https://github.com/rust-lang/rust.git',
766+
'0899efe363292f786e67c978ec77439c437d0e74')
767+
GitCherryPick(RUST_SRC_DIR, 'https://github.com/rust-lang/rust.git',
768+
'43baf5dc1fa6758c0268e30530d821d8b36fee07')
769+
GitCherryPick(RUST_SRC_DIR, 'https://github.com/rust-lang/rust.git',
770+
'4ac32747ba280faa5cea05ad3f54a31c03257171')
771+
GitCherryPick(RUST_SRC_DIR, 'https://github.com/rust-lang/rust.git',
772+
'01046205f3970e7ce111c9a0d63ed512c5a354d5')
773+
763774
path = FetchBetaPackage('cargo', checkout_revision)
764775
if sys.platform == 'win32':
765776
cargo_bin = os.path.join(path, 'cargo', 'bin', 'cargo.exe')

0 commit comments

Comments
 (0)