1*eff27476SAndrew Geissler## This is information on the rust-snapshot (binary) used to build our current release.
2*eff27476SAndrew Geissler## snapshot info is taken from rust/src/stage0.txt
3*eff27476SAndrew Geissler## TODO: find a way to add additional SRC_URIs based on the contents of an
4*eff27476SAndrew Geissler##       earlier SRC_URI.
5*eff27476SAndrew GeisslerRS_VERSION = "1.56.0"
6*eff27476SAndrew GeisslerCARGO_VERSION = "1.56.0"
7*eff27476SAndrew Geissler
8*eff27476SAndrew Geissler# TODO: Add hashes for other architecture toolchains as well. Make a script?
9*eff27476SAndrew GeisslerSRC_URI[rust-std-snapshot-x86_64.sha256sum] = "f693e4f41a959d62528e0043b0b010c4815fb9f5887267ae34ff8b860f8ec4ae"
10*eff27476SAndrew GeisslerSRC_URI[rustc-snapshot-x86_64.sha256sum] = "2a5f919e2036496c02ab4707a5eb8bd8a4ce6ea589e01cb39f25d213a26dcdfe"
11*eff27476SAndrew GeisslerSRC_URI[cargo-snapshot-x86_64.sha256sum] = "f972125810d2db7df2e0af56d9f6a3dcdacc52d983bdf0ca17309b45fc44209b"
12*eff27476SAndrew Geissler
13*eff27476SAndrew GeisslerSRC_URI[rust-std-snapshot-aarch64.sha256sum] = "3cd1c69c618e5efaf578a156c2a950c93964f9b47ba4d705d5700bdc64880231"
14*eff27476SAndrew GeisslerSRC_URI[rustc-snapshot-aarch64.sha256sum] = "0d2491a59f697d2ea52fc429b8d4665acb5f79b0e16703f3604b61b8aa68d1c4"
15*eff27476SAndrew GeisslerSRC_URI[cargo-snapshot-aarch64.sha256sum] = "9d97cd655845572846c058577f68ea74b6111f8ea7649db308f786475f764a09"
16*eff27476SAndrew Geissler
17d159c7fbSAndrew GeisslerSRC_URI += " \
18d159c7fbSAndrew Geissler    https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
19d159c7fbSAndrew Geissler    https://static.rust-lang.org/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
20d159c7fbSAndrew Geissler    https://static.rust-lang.org/dist/${CARGO_SNAPSHOT}.tar.xz;name=cargo-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
21d159c7fbSAndrew Geissler"
22d159c7fbSAndrew Geissler
23d159c7fbSAndrew GeisslerRUST_STD_SNAPSHOT = "rust-std-${RS_VERSION}-${BUILD_ARCH}-unknown-linux-gnu"
24d159c7fbSAndrew GeisslerRUSTC_SNAPSHOT = "rustc-${RS_VERSION}-${BUILD_ARCH}-unknown-linux-gnu"
25d159c7fbSAndrew GeisslerCARGO_SNAPSHOT = "cargo-${CARGO_VERSION}-${BUILD_ARCH}-unknown-linux-gnu"
26