[tor-commits] [tor/master] Add a build-rust alias to just rebuild the rust code.
nickm at torproject.org
nickm at torproject.org
Fri Oct 27 16:56:20 UTC 2017
commit 6e08807b543bad89be4de72ab73c0c2c5997aac7
Author: Nick Mathewson <nickm at torproject.org>
Date: Fri Oct 27 12:52:07 2017 -0400
Add a build-rust alias to just rebuild the rust code.
---
src/rust/tor_rust/include.am | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/rust/tor_rust/include.am b/src/rust/tor_rust/include.am
index f3b0748ba..90f37a9f1 100644
--- a/src/rust/tor_rust/include.am
+++ b/src/rust/tor_rust/include.am
@@ -15,4 +15,10 @@ distclean-rust:
$(CARGO) clean --quiet $(CARGO_ONLINE) )
rm -rf "$(abs_top_builddir)/src/rust/registry"
+if USE_RUST
+build-rust: src/rust/target/release/@TOR_RUST_STATIC_NAME@
+else
+build-rust:
+endif
+
FORCE:
More information about the tor-commits
mailing list