[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Add a build-rust alias to just rebuild the rust code.
commit 6e08807b543bad89be4de72ab73c0c2c5997aac7
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits