blob: c69f34141b6eaf1944f6b7a2624dc7a8b83b2181 [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
Patrick Williams03907ee2022-05-01 06:28:52 -05003## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
4## The exact (previous) version that has been used is specified in the source tarball.
5## The version is replicated here.
Andrew Geisslereff27472021-10-29 15:35:00 -05006## TODO: find a way to add additional SRC_URIs based on the contents of an
7## earlier SRC_URI.
Patrick Williams03907ee2022-05-01 06:28:52 -05008RS_VERSION = "1.59.0"
9CARGO_VERSION = "1.59.0"
Andrew Geisslereff27472021-10-29 15:35:00 -050010
11# TODO: Add hashes for other architecture toolchains as well. Make a script?
Patrick Williams03907ee2022-05-01 06:28:52 -050012SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "c854a9ee3dd8e5be9522c1581f75838c1cbae6dece3934b0004f138c4a5024a3"
13SRC_URI[rustc-snapshot-x86_64.sha256sum] = "838de1fef855ef7733a87862c2575e8da9f3fa11fd0a8ce05c293038ea92356e"
14SRC_URI[cargo-snapshot-x86_64.sha256sum] = "f56ebfb333ea46e4429377bf4b16a2ec889d61640a41c3093577cdd8f3c80b96"
Andrew Geisslereff27472021-10-29 15:35:00 -050015
Patrick Williams03907ee2022-05-01 06:28:52 -050016SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "68e50dee4f6dddeab7330906e46022f57f2c004c847eae3f5b1bc82c59e43fc0"
17SRC_URI[rustc-snapshot-aarch64.sha256sum] = "d9789013ef6edd76eae3e7427b48f420a036ab3ee2af883e60baa33a9e1c23d7"
18SRC_URI[cargo-snapshot-aarch64.sha256sum] = "11b8da4b90ff74c6c796a3d6c1f5150de23c411ed2546e10b301077b904191fd"
Andrew Geisslereff27472021-10-29 15:35:00 -050019
Patrick Williams03907ee2022-05-01 06:28:52 -050020SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "15dee7705967e3351aff11c64ada30c4957b54066c7ee49b87be4b8155bd0a7d"
21SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "e5458f55e51f8baecab4ff1e43fae5c6e1c40d8171098ab633747ee0684b37bb"
22SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "fdab44481286db3ea8f4b6d409e648355009ef458188352d5e2c5799f7614fbd"
Andrew Jefferybeee1542022-03-01 01:09:48 +103023
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050024SRC_URI += " \
Andrew Jeffery1d89bf82022-03-01 01:09:47 +103025 https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
26 https://static.rust-lang.org/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
27 https://static.rust-lang.org/dist/${CARGO_SNAPSHOT}.tar.xz;name=cargo-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050028"
29
Andrew Jeffery1d89bf82022-03-01 01:09:47 +103030RUST_STD_SNAPSHOT = "rust-std-${RS_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
31RUSTC_SNAPSHOT = "rustc-${RS_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
32CARGO_SNAPSHOT = "cargo-${CARGO_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"