Add more functionality into Rust

This commit is contained in:
topjohnwu
2025-01-06 02:48:06 -08:00
committed by John Wu
parent 0d31d356ef
commit 7098248c64
6 changed files with 53 additions and 37 deletions

View File

@@ -1,5 +1,13 @@
#![allow(dead_code)]
use base::const_format::concatcp;
#[path = "../../out/generated/flags.rs"]
mod flags;
// versions
pub use flags::*;
pub const MAGISK_FULL_VER: &str = concatcp!(MAGISK_VERSION, "(", MAGISK_VER_CODE, ")");
pub const LOGFILE: &str = "/cache/magisk.log";
// data paths