Migrate magisk_main to Rust

This commit is contained in:
topjohnwu
2025-09-17 23:19:13 -07:00
parent 8d02d0632e
commit 8b7d1ffcdd
10 changed files with 368 additions and 214 deletions
+3
View File
@@ -4,6 +4,9 @@ use base::const_format::concatcp;
#[path = "../../out/generated/flags.rs"]
mod flags;
pub const POST_FS_DATA_WAIT_TIME: i32 = 40;
pub const APPLET_NAMES: &[&str] = &["su", "resetprop"];
// versions
pub use flags::*;
pub const MAGISK_FULL_VER: &str = concatcp!(MAGISK_VERSION, "(", MAGISK_VER_CODE, ")");