mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Merge remote-tracking branch 'isis/bug22830_0.3.1' into maint-0.3.1
This commit is contained in:
commit
e6d2059751
5
changes/bug22830
Normal file
5
changes/bug22830
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Fix a problem with Rust toolchains not being found when building
|
||||||
|
without --enable-cargo-online-mode, due to setting the $HOME
|
||||||
|
environment variable instead of $CARGO_HOME. Fixes bug 22830;
|
||||||
|
fix by Chelsea Komlo. Bugfix on 0.3.1.1-alpha.
|
@ -7,7 +7,7 @@ EXTRA_DIST +=\
|
|||||||
src/rust/target/release/libtor_util.a: FORCE
|
src/rust/target/release/libtor_util.a: FORCE
|
||||||
( cd "$(abs_top_srcdir)/src/rust/tor_util" ; \
|
( cd "$(abs_top_srcdir)/src/rust/tor_util" ; \
|
||||||
CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
|
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) )
|
$(CARGO) build --release --quiet $(CARGO_ONLINE) )
|
||||||
|
|
||||||
FORCE:
|
FORCE:
|
||||||
|
@ -7,7 +7,7 @@ exitcode=0
|
|||||||
|
|
||||||
for crate in $crates; do
|
for crate in $crates; do
|
||||||
cd "${abs_top_srcdir:-.}/src/rust/${crate}"
|
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
|
done
|
||||||
|
|
||||||
exit $exitcode
|
exit $exitcode
|
||||||
|
Loading…
Reference in New Issue
Block a user