blob: b9d7edd6720f051a885ac71e83611d1cd74c688a [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.
Patrick Williams92b42cb2022-09-03 06:53:57 -05002## snapshot info is taken from rust/src/stage0.json
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 Williams92b42cb2022-09-03 06:53:57 -05008RS_VERSION = "1.62.0"
9CARGO_VERSION = "1.62.0"
Andrew Geisslereff27472021-10-29 15:35:00 -050010
11# TODO: Add hashes for other architecture toolchains as well. Make a script?
Patrick Williams92b42cb2022-09-03 06:53:57 -050012SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "addfae87b6b1b521d98a50fdc5120990888a51bb397100062e9c558267c67c77"
13SRC_URI[rustc-snapshot-x86_64.sha256sum] = "e7f71f4ef09334ddc9ec8cbf2f958d654e36f580c95f8fec6d5c816ce256dbd6"
14SRC_URI[cargo-snapshot-x86_64.sha256sum] = "815c63119a9cf0282ff240c6444b6f867238763ee3dea182f10837ae7dbbb1d4"
Andrew Geisslereff27472021-10-29 15:35:00 -050015
Patrick Williams92b42cb2022-09-03 06:53:57 -050016SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "dd5df8a92af3e5d49a1122b9561821ebd72a9317884a37ecddae041e652a7563"
17SRC_URI[rustc-snapshot-aarch64.sha256sum] = "0fa320a19d41dcfc592bc006f5e9eda8e3b972598a26c96ad64eedd868516df3"
18SRC_URI[cargo-snapshot-aarch64.sha256sum] = "475038ecacca9ff586cad2082d5d950544b0d581a2a287facc7d899aae488813"
Andrew Geisslereff27472021-10-29 15:35:00 -050019
Patrick Williams92b42cb2022-09-03 06:53:57 -050020SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "d6678b7c971f3adbe7f820adae669d03a314468441e2907747c76eca98e0be92"
21SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "b66d0bc6dbfdc0d4b826f787ec4e772dea8e3d2015cecbe2105632d468c28dcb"
22SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "016257f1641693008068bd086fec66d68550d1778f6aea9d06c9b263fca392d5"
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"