mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge branch 'maint-0.3.1'
This commit is contained in:
commit
c73b35d428
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
|
||||
( 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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user