mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-14 22:34:16 +00:00
Restructure the native module
Consolidate all code into the src folder
This commit is contained in:
16
native/src/core/lib.rs
Normal file
16
native/src/core/lib.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
pub use base;
|
||||
pub use logging::*;
|
||||
|
||||
mod logging;
|
||||
|
||||
#[cxx::bridge]
|
||||
pub mod ffi {
|
||||
extern "Rust" {
|
||||
fn rust_test_entry();
|
||||
fn android_logging();
|
||||
fn magisk_logging();
|
||||
fn zygisk_logging();
|
||||
}
|
||||
}
|
||||
|
||||
fn rust_test_entry() {}
|
||||
Reference in New Issue
Block a user