diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2017-04-29 09:15:14 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-19 08:47:10 -0400 |
commit | f8ef7c65d10ccd9403d9d64ceceba0dd74d6421f (patch) | |
tree | ba8345086b45682c3f0e586cf7f58db22fa9dbb0 /src/common/include.am | |
parent | 915fa39d0f927712f7a468c0a2f4497aef0a3b0f (diff) | |
download | tor-f8ef7c65d10ccd9403d9d64ceceba0dd74d6421f.tar.gz tor-f8ef7c65d10ccd9403d9d64ceceba0dd74d6421f.zip |
Add some Rust utility functions and print support
This gives an indication in the log that Tor was built with Rust
support, as well as laying some groundwork for further string-returning
APIs to be converted to Rust
Diffstat (limited to 'src/common/include.am')
-rw-r--r-- | src/common/include.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/include.am b/src/common/include.am index e285ef5f86..b37b363b82 100644 --- a/src/common/include.am +++ b/src/common/include.am @@ -100,6 +100,11 @@ LIBOR_A_SRC = \ $(threads_impl_source) \ $(readpassphrase_source) +if USE_RUST +else +LIBOR_A_SRC += src/common/compat_rust.c +endif + src/common/src_common_libor_testing_a-log.$(OBJEXT) \ src/common/log.$(OBJEXT): micro-revision.i @@ -146,6 +151,7 @@ COMMONHEADERS = \ src/common/compat.h \ src/common/compat_libevent.h \ src/common/compat_openssl.h \ + src/common/compat_rust.h \ src/common/compat_threads.h \ src/common/compat_time.h \ src/common/compress.h \ |