diff options
Diffstat (limited to 'src/rust/tor_allocate/lib.rs')
-rw-r--r-- | src/rust/tor_allocate/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rust/tor_allocate/lib.rs b/src/rust/tor_allocate/lib.rs index 5a355bc8d6..1cfa0b5178 100644 --- a/src/rust/tor_allocate/lib.rs +++ b/src/rust/tor_allocate/lib.rs @@ -11,5 +11,10 @@ extern crate libc; +use std::alloc::System; + mod tor_allocate; pub use tor_allocate::*; + +#[global_allocator] +static A: System = System; |