From 6e08807b543bad89be4de72ab73c0c2c5997aac7 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 27 Oct 2017 12:52:07 -0400 Subject: Add a build-rust alias to just rebuild the rust code. --- src/rust/tor_rust/include.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/rust') 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: -- cgit v1.2.3-54-g00ecf