summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug225205
-rw-r--r--changes/bug228305
-rw-r--r--src/common/compat.c2
-rw-r--r--src/rust/tor_util/include.am2
-rwxr-xr-xsrc/test/test_rust.sh2
5 files changed, 13 insertions, 3 deletions
diff --git a/changes/bug22520 b/changes/bug22520
new file mode 100644
index 0000000000..cc14f7214c
--- /dev/null
+++ b/changes/bug22520
@@ -0,0 +1,5 @@
+ o Minor bugfixes (error reporting, windows):
+ - When formatting Windows error messages, use the English format
+ to avoid codepage issues. Fixes bug 22520; bugfix on
+ 0.1.2.8-alpha. Patch from "Vort".
+
diff --git a/changes/bug22830 b/changes/bug22830
new file mode 100644
index 0000000000..123b725aff
--- /dev/null
+++ b/changes/bug22830
@@ -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.
diff --git a/src/common/compat.c b/src/common/compat.c
index 3bea626903..4d110aba35 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -3261,7 +3261,7 @@ format_win32_error(DWORD err)
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, err,
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
+ MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT),
(LPVOID)&str,
0, NULL);
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