mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-19 16:10:44 -08:00
Restructure the native module
Consolidate all code into the src folder
This commit is contained in:
11
native/src/init/lib.rs
Normal file
11
native/src/init/lib.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
pub use base;
|
||||
pub use logging::*;
|
||||
|
||||
mod logging;
|
||||
|
||||
#[cxx::bridge(namespace = "rust")]
|
||||
pub mod ffi2 {
|
||||
extern "Rust" {
|
||||
fn setup_klog();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user