From ae5bea17ac83a473482af0deaf7b8d10b5b10bc2 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Tue, 16 Dec 2014 13:47:21 -0500 Subject: [PATCH] rust: clairfy USE_LOCAL_RUST --- recipes/rust/rust.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/rust/rust.inc b/recipes/rust/rust.inc index 3cbbc02..a7adafa 100644 --- a/recipes/rust/rust.inc +++ b/recipes/rust/rust.inc @@ -13,7 +13,8 @@ LIC_FILES_CHKSUM ="\ # Controls whether we use the local rust. # For -native, we set this to "0" by default. -USE_LOCAL_RUST = "1" +# This avoids us downloading and using the snapshot for every rust build. +USE_LOCAL_RUST ??= "1" # We generate local targets, and need to be able to locate them export RUST_TARGET_PATH="${WORKDIR}/targets/"