Hi all
Today I found a mistake in external/tor-rust-patch-1 after I reboot computer , yesterday I had export env CARGO_TARGET_DIR in bash when I trace cargo build process manually.
user@debian:~/dev/tor/tor-android$ git diff external/tor-rust-patch-1
diff --git a/external/tor-rust-patch-1 b/external/tor-rust-patch-1
index 26cda2f6..cf34a4c4 100644
--- a/external/tor-rust-patch-1
+++ b/external/tor-rust-patch-1
@@ -8,7 +8,7 @@ index ec3898577..36313fc60 100644
CARGO_HOME="$(abs_top_builddir)/src/rust" \
- $(CARGO) build --release --quiet $(CARGO_ONLINE) )
+ $(CARGO) build --release --target $(TOR_CARGO_TARGET) --verbose $(CARGO_ONLINE); \
-+ cd $(CARGO_TARGET_DIR); \
++ cd "$(abs_top_builddir)/src/rust/target"; \
+ mkdir -p release; \
+ cp $(TOR_CARGO_TARGET)/release/@TOR_RUST_UTIL_STATIC_NAME@ release;)
--
Thanks
PGP Fingerprint: F7BA D6CE 6592 77C7 0D2E 3BD5 5479 A15E B305 B8FE