[tor-bugs] #23882 [Core Tor/Tor]: Investigate implementing a Rust allocator wrapping tor_malloc

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 10 03:37:35 UTC 2018


#23882: Investigate implementing a Rust allocator wrapping tor_malloc
------------------------------+------------------------------------
 Reporter:  isis              |          Owner:  (none)
     Type:  enhancement       |         Status:  new
 Priority:  High              |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor      |        Version:  Tor: 0.3.2.2-alpha
 Severity:  Normal            |     Resolution:
 Keywords:  rust, rust-pilot  |  Actual Points:
Parent ID:                    |         Points:  3
 Reviewer:                    |        Sponsor:  Sponsor8-can
------------------------------+------------------------------------

Comment (by isis):

 The tracking issue for stabilisation of the `std::heap::Alloc` trait is
 here https://github.com/rust-lang/rust/issues/32838, which is probably
 also important since the global allocator feature that Manish linked to
 requires that we `impl<'a> Alloc for &'a TorAlloc`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23882#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list