aboutsummaryrefslogtreecommitdiff
path: root/src/rust
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-27 12:52:07 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-27 12:52:07 -0400
commit6e08807b543bad89be4de72ab73c0c2c5997aac7 (patch)
tree88ea5850e2e16927ffda9a510e5822fabf1af6e0 /src/rust
parent1e66ab363a561c3b419269eca8f7e92346718075 (diff)
downloadtor-6e08807b543bad89be4de72ab73c0c2c5997aac7.tar.gz
tor-6e08807b543bad89be4de72ab73c0c2c5997aac7.zip
Add a build-rust alias to just rebuild the rust code.
Diffstat (limited to 'src/rust')
-rw-r--r--src/rust/tor_rust/include.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rust/tor_rust/include.am b/src/rust/tor_rust/include.am
index f3b0748baf..90f37a9f1b 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: