blob: e790705aba0ca10152c6bb0fbf2a34e6d41e9c53 [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 Williams2390b1b2022-11-03 13:47:49 -05008RS_VERSION = "1.63.0"
9CARGO_VERSION = "1.63.0"
Andrew Geisslereff27472021-10-29 15:35:00 -050010
11# TODO: Add hashes for other architecture toolchains as well. Make a script?
Patrick Williams2390b1b2022-11-03 13:47:49 -050012SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "993c2c17bf76ac626bfb5b17bddce65fbdfc14f70d183f33773de0cd12df46d2"
13SRC_URI[rustc-snapshot-x86_64.sha256sum] = "bdab9d9afa5c329c40f9ba568364815237fab8426477c12bfabad35ffc484ab5"
14SRC_URI[cargo-snapshot-x86_64.sha256sum] = "f370d12e4c11f0c835becb738bcf00d363f29b76f8b424b4dcb005abcf15fc9a"
Andrew Geisslereff27472021-10-29 15:35:00 -050015
Patrick Williams2390b1b2022-11-03 13:47:49 -050016SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "f1d93b3d48258f701687c63ef9b226c07329fb92c2c5559283258687f958e9d0"
17SRC_URI[rustc-snapshot-aarch64.sha256sum] = "d78799bb8f4177877f97b9051c9cba1fd85173f2e9cecab9486388fc6fa66259"
18SRC_URI[cargo-snapshot-aarch64.sha256sum] = "4313ab44dccba4faed20db4aacc16def405773d1676e79d3e65ced4b99d710d4"
Andrew Geisslereff27472021-10-29 15:35:00 -050019
Patrick Williams2390b1b2022-11-03 13:47:49 -050020SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "3ae0b74ba428c569fcecebbb09060ad0bd434a5f1fc9ffd1329b56941a897b6e"
21SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "b3dc2c082e76b5effe0b158aac3831830168a1a6980b39347c355e49be63fcca"
22SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "a4cdc00a42fd767bf5a296f7126d9db22a0a609cd956bbf0cb3eae882add1be7"
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"