aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-13 16:51:09 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-13 16:51:09 -0400
commite6d2059751da008a1fb00b42039eb4cbc638e638 (patch)
treebc4cee712cbf00fcccacb6f559c9fb72391a1861 /src
parent5636b160d42e344f936f881992c19b3c27f60a2c (diff)
parent8de1b94b9db9156e1d8cdce9fab8a911cdb1ee43 (diff)
downloadtor-e6d2059751da008a1fb00b42039eb4cbc638e638.tar.gz
tor-e6d2059751da008a1fb00b42039eb4cbc638e638.zip
Merge remote-tracking branch 'isis/bug22830_0.3.1' into maint-0.3.1
Diffstat (limited to 'src')
-rw-r--r--src/rust/tor_util/include.am2
-rwxr-xr-xsrc/test/test_rust.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/tor_util/include.am b/src/rust/tor_util/include.am
index 17a755fe09..f0cd63920c 100644
--- a/src/rust/tor_util/include.am
+++ b/src/rust/tor_util/include.am
@@ -7,7 +7,7 @@ EXTRA_DIST +=\
src/rust/target/release/libtor_util.a: FORCE
( cd "$(abs_top_srcdir)/src/rust/tor_util" ; \
CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
- HOME="$(abs_top_builddir)/src/rust" \
+ CARGO_HOME="$(abs_top_builddir)/src/rust" \
$(CARGO) build --release --quiet $(CARGO_ONLINE) )
FORCE:
diff --git a/src/test/test_rust.sh b/src/test/test_rust.sh
index 4427c70f13..d559f94ce0 100755
--- a/src/test/test_rust.sh
+++ b/src/test/test_rust.sh
@@ -7,7 +7,7 @@ exitcode=0
for crate in $crates; do
cd "${abs_top_srcdir:-.}/src/rust/${crate}"
- CARGO_TARGET_DIR="${abs_top_builddir}/src/rust/target" HOME="${abs_top_builddir}/src/rust" "${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} || exitcode=1
+ CARGO_TARGET_DIR="${abs_top_builddir}/src/rust/target" CARGO_HOME="${abs_top_builddir}/src/rust" "${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} || exitcode=1
done
exit $exitcode