mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 18:45:28 +00:00
14 lines
228 B
Rust
14 lines
228 B
Rust
use logging::setup_klog;
|
|
// Has to be pub so all symbols in that crate is included
|
|
pub use magiskpolicy;
|
|
|
|
mod logging;
|
|
|
|
#[cxx::bridge]
|
|
pub mod ffi {
|
|
#[namespace = "rust"]
|
|
extern "Rust" {
|
|
fn setup_klog();
|
|
}
|
|
}
|