From 489fe195e0b64e2a38470b963631c41a8bccf310 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 8 Nov 2016 13:33:08 -0600 Subject: [PATCH] rust: derive the stage0 toolchain from the build env The host system where things are being built really should control what toolchain is used for stage0. This in theory should improve #23 but I'm not sure how to specify a hash per host sys. --- recipes-devtools/rust/rust-source-1.10.0.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-devtools/rust/rust-source-1.10.0.inc b/recipes-devtools/rust/rust-source-1.10.0.inc index 593e689..4ee024a 100644 --- a/recipes-devtools/rust/rust-source-1.10.0.inc +++ b/recipes-devtools/rust/rust-source-1.10.0.inc @@ -3,13 +3,12 @@ ## snapshot info taken from rust/src/stage0.txt ## TODO: find a way to add additional SRC_URIs based on the contents of an ## earlier SRC_URI. -RS_DATE = "2016-05-24" RS_VERSION = "1.9.0" -RS_ARCH = "x86_64-unknown-linux-gnu" RS_KEY = "e8edd0fd" -RUST_SNAPSHOT = "rustc-${RS_VERSION}-${RS_ARCH}" +RUST_SNAPSHOT = "rustc-${RS_VERSION}-${RUST_HOST_SYS}" +# These are x86_64-unknown-linux-gnu hashes, how can we add more? SRC_URI[rust-snapshot.md5sum] = "f1cf6d2fe15e4be18a08259f1540a4ae" SRC_URI[rust-snapshot.sha256sum] = "d0704d10237c66c3efafa6f7e5570c59a1d3fe5c6d99487540f90ebb37cd84c4"