blob: 74b558262f62845d8cf4b80996db4a3a6a97b211 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001## This is information on the rust-snapshot (binary) used to build our current release.
2## snapshot info is taken from rust/src/stage0.txt
3## TODO: find a way to add additional SRC_URIs based on the contents of an
4## earlier SRC_URI.
Andrew Geissler595f6302022-01-24 19:11:47 +00005RS_VERSION = "1.57.0"
6CARGO_VERSION = "1.57.0"
Andrew Geisslereff27472021-10-29 15:35:00 -05007
8# TODO: Add hashes for other architecture toolchains as well. Make a script?
Andrew Geissler595f6302022-01-24 19:11:47 +00009SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "ccdc72d06c90841b7227ec3630337881eeda3da5fbe87328d2e9d705f6f8016c"
10SRC_URI[rustc-snapshot-x86_64.sha256sum] = "c42f40c5279a3a9d539cae93dbcab9d333777ad9a60a5b9f1086b874ef63db86"
11SRC_URI[cargo-snapshot-x86_64.sha256sum] = "ed2013713ae742895af5df8d91c5430ba9ba3c781e3bc7f3471b220cc06d565d"
Andrew Geisslereff27472021-10-29 15:35:00 -050012
Andrew Geissler595f6302022-01-24 19:11:47 +000013SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "3618da916a0f92f241cf1d67d04bb57835b303cf2047b57dc2f2487b89a4fc1f"
14SRC_URI[rustc-snapshot-aarch64.sha256sum] = "f26811e48d03c56c125de03d389e1ae7c6df36990953c1670c6a5676bc12d4cb"
15SRC_URI[cargo-snapshot-aarch64.sha256sum] = "6d11cd94618d80cda273eeeae7285980445f61a49ebacc616777b482a41cbf3f"
Andrew Geisslereff27472021-10-29 15:35:00 -050016
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050017SRC_URI += " \
18 https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
19 https://static.rust-lang.org/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
20 https://static.rust-lang.org/dist/${CARGO_SNAPSHOT}.tar.xz;name=cargo-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
21"
22
23RUST_STD_SNAPSHOT = "rust-std-${RS_VERSION}-${BUILD_ARCH}-unknown-linux-gnu"
24RUSTC_SNAPSHOT = "rustc-${RS_VERSION}-${BUILD_ARCH}-unknown-linux-gnu"
25CARGO_SNAPSHOT = "cargo-${CARGO_VERSION}-${BUILD_ARCH}-unknown-linux-gnu"