mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
f8ef7c65d1
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
14 lines
394 B
Rust
14 lines
394 B
Rust
//! C <-> Rust compatibility helpers and types.
|
|
//!
|
|
//! Generically useful, small scale helpers should go here. This goes for both
|
|
//! the C side (in the form of the ffi module) as well as the Rust side
|
|
//! (individual modules per functionality). The corresponding C stuff lives in
|
|
//! `src/common/compat_rust.{c,h}`.
|
|
|
|
extern crate libc;
|
|
|
|
mod rust_string;
|
|
pub mod ffi;
|
|
|
|
pub use rust_string::*;
|