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
3*03907ee1SPatrick Williams## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
4*03907ee1SPatrick Williams## The exact (previous) version that has been used is specified in the source tarball.
5*03907ee1SPatrick Williams## The version is replicated here.
6eff27476SAndrew Geissler## TODO: find a way to add additional SRC_URIs based on the contents of an
7eff27476SAndrew Geissler##       earlier SRC_URI.
8*03907ee1SPatrick WilliamsRS_VERSION = "1.59.0"
9*03907ee1SPatrick WilliamsCARGO_VERSION = "1.59.0"
10eff27476SAndrew Geissler
11eff27476SAndrew Geissler# TODO: Add hashes for other architecture toolchains as well. Make a script?
12*03907ee1SPatrick WilliamsSRC_URI[rust-std-snapshot-x86_64.sha256sum] = "c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3"
13*03907ee1SPatrick WilliamsSRC_URI[rustc-snapshot-x86_64.sha256sum] = "838de1fef855ef7733a87862c2575e8da9f3fa11fd0a8ce05c293038ea92356e"
14*03907ee1SPatrick WilliamsSRC_URI[cargo-snapshot-x86_64.sha256sum] = "f56ebfb333ea46e4429377bf4b16a2ec889d61640a41c3093577cdd8f3c80b96"
15eff27476SAndrew Geissler
16*03907ee1SPatrick WilliamsSRC_URI[rust-std-snapshot-aarch64.sha256sum] = "68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0"
17*03907ee1SPatrick WilliamsSRC_URI[rustc-snapshot-aarch64.sha256sum] = "d9789013ef6edd76eae3e7427b48f420a036ab3ee2af883e60baa33a9e1c23d7"
18*03907ee1SPatrick WilliamsSRC_URI[cargo-snapshot-aarch64.sha256sum] = "11b8da4b90ff74c6c796a3d6c1f5150de23c411ed2546e10b301077b904191fd"
19eff27476SAndrew Geissler
20*03907ee1SPatrick WilliamsSRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d"
21*03907ee1SPatrick WilliamsSRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "e5458f55e51f8baecab4ff1e43fae5c6e1c40d8171098ab633747ee0684b37bb"
22*03907ee1SPatrick WilliamsSRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "fdab44481286db3ea8f4b6d409e648355009ef458188352d5e2c5799f7614fbd"
23beee1541SAndrew Jeffery
24d159c7fbSAndrew GeisslerSRC_URI += " \
251d89bf8eSAndrew Jeffery    https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
261d89bf8eSAndrew Jeffery    https://static.rust-lang.org/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
271d89bf8eSAndrew Jeffery    https://static.rust-lang.org/dist/${CARGO_SNAPSHOT}.tar.xz;name=cargo-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
28d159c7fbSAndrew Geissler"
29d159c7fbSAndrew Geissler
301d89bf8eSAndrew JefferyRUST_STD_SNAPSHOT = "rust-std-${RS_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
311d89bf8eSAndrew JefferyRUSTC_SNAPSHOT = "rustc-${RS_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
321d89bf8eSAndrew JefferyCARGO_SNAPSHOT = "cargo-${CARGO_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
33