summaryrefslogtreecommitdiff
path: root/src/rust/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/build.rs')
-rw-r--r--src/rust/build.rs22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/rust/build.rs b/src/rust/build.rs
index b943aa5535..4e401f5275 100644
--- a/src/rust/build.rs
+++ b/src/rust/build.rs
@@ -138,9 +138,9 @@ pub fn main() {
cfg.from_cflags("TOR_LDFLAGS_openssl");
cfg.from_cflags("TOR_LDFLAGS_libevent");
+ cfg.link_relpath("src/lib");
cfg.link_relpath("src/common");
cfg.link_relpath("src/ext/keccak-tiny");
- cfg.link_relpath("src/ext/keccak-tiny");
cfg.link_relpath("src/ext/ed25519/ref10");
cfg.link_relpath("src/ext/ed25519/donna");
cfg.link_relpath("src/trunnel");
@@ -149,11 +149,25 @@ pub fn main() {
// will have dependencies on all the other rust packages that
// tor uses. We must be careful with factoring and dependencies
// moving forward!
- cfg.component("or-crypto-testing");
- cfg.component("or-ctime-testing");
+ cfg.component("tor-crypt-ops-testing");
cfg.component("or-testing");
+ cfg.component("tor-sandbox");
+ cfg.component("tor-encoding-testing");
+ cfg.component("tor-net");
+ cfg.component("tor-thread-testing");
+ cfg.component("tor-memarea-testing");
+ cfg.component("tor-log");
+ cfg.component("tor-lock");
+ cfg.component("tor-fdio");
+ cfg.component("tor-container-testing");
+ cfg.component("tor-smartlist-core-testing");
+ cfg.component("tor-string-testing");
+ cfg.component("tor-malloc");
+ cfg.component("tor-wallclock");
+ cfg.component("tor-err-testing");
cfg.component("or-event-testing");
- cfg.component("or-ctime-testing");
+ cfg.component("tor-intmath-testing");
+ cfg.component("tor-ctime-testing");
cfg.component("curve25519_donna");
cfg.component("keccak-tiny");
cfg.component("ed25519_ref10");