1eff27476SAndrew Geissler## This is information on the rust-snapshot (binary) used to build our current release.
2eff27476SAndrew Geissler## snapshot info is taken from rust/src/stage0.txt
3eff27476SAndrew Geissler## TODO: find a way to add additional SRC_URIs based on the contents of an
4eff27476SAndrew Geissler##       earlier SRC_URI.
5595f6308SAndrew GeisslerRS_VERSION = "1.57.0"
6595f6308SAndrew GeisslerCARGO_VERSION = "1.57.0"
7eff27476SAndrew Geissler
8eff27476SAndrew Geissler# TODO: Add hashes for other architecture toolchains as well. Make a script?
9595f6308SAndrew GeisslerSRC_URI[rust-std-snapshot-x86_64.sha256sum] = "ccdc72d06c90841b7227ec3630337881eeda3da5fbe87328d2e9d705f6f8016c"
10595f6308SAndrew GeisslerSRC_URI[rustc-snapshot-x86_64.sha256sum] = "c42f40c5279a3a9d539cae93dbcab9d333777ad9a60a5b9f1086b874ef63db86"
11595f6308SAndrew GeisslerSRC_URI[cargo-snapshot-x86_64.sha256sum] = "ed2013713ae742895af5df8d91c5430ba9ba3c781e3bc7f3471b220cc06d565d"
12eff27476SAndrew Geissler
13595f6308SAndrew GeisslerSRC_URI[rust-std-snapshot-aarch64.sha256sum] = "3618da916a0f92f241cf1d67d04bb57835b303cf2047b57dc2f2487b89a4fc1f"
14595f6308SAndrew GeisslerSRC_URI[rustc-snapshot-aarch64.sha256sum] = "f26811e48d03c56c125de03d389e1ae7c6df36990953c1670c6a5676bc12d4cb"
15595f6308SAndrew GeisslerSRC_URI[cargo-snapshot-aarch64.sha256sum] = "6d11cd94618d80cda273eeeae7285980445f61a49ebacc616777b482a41cbf3f"
16eff27476SAndrew Geissler
17d159c7fbSAndrew GeisslerSRC_URI += " \
18*1d89bf8eSAndrew Jeffery    https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
19*1d89bf8eSAndrew Jeffery    https://static.rust-lang.org/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
20*1d89bf8eSAndrew Jeffery    https://static.rust-lang.org/dist/${CARGO_SNAPSHOT}.tar.xz;name=cargo-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
21d159c7fbSAndrew Geissler"
22d159c7fbSAndrew Geissler
23*1d89bf8eSAndrew JefferyRUST_STD_SNAPSHOT = "rust-std-${RS_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
24*1d89bf8eSAndrew JefferyRUSTC_SNAPSHOT = "rustc-${RS_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
25*1d89bf8eSAndrew JefferyCARGO_SNAPSHOT = "cargo-${CARGO_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
26