mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-13 12:12:15 +00:00
Move project common code into include
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::gen::gen_cxx_binding;
|
||||
|
||||
#[path = "../base/gen.rs"]
|
||||
#[path = "../include/gen.rs"]
|
||||
mod gen;
|
||||
|
||||
fn main() {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
pub use base;
|
||||
use daemon::*;
|
||||
use logging::*;
|
||||
use std::ffi::CStr;
|
||||
|
||||
#[path = "../include/consts.rs"]
|
||||
mod consts;
|
||||
mod daemon;
|
||||
mod logging;
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ use base::*;
|
||||
|
||||
use crate::daemon::{MagiskD, MAGISKD};
|
||||
use crate::logging::LogFile::{Actual, Buffer};
|
||||
use crate::LOGFILE;
|
||||
|
||||
#[allow(dead_code, non_camel_case_types)]
|
||||
#[derive(FromPrimitive, ToPrimitive)]
|
||||
|
||||
Reference in New Issue
Block a user