mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-07 19:01:39 -08:00
Parse rule files with Rust
This commit is contained in:
@@ -8,8 +8,9 @@ crate-type = ["staticlib"]
|
||||
path = "lib.rs"
|
||||
|
||||
[build-dependencies]
|
||||
cxx-gen = { path = "../external/cxx-rs/gen/lib" }
|
||||
cxx-gen = { workspace = true }
|
||||
|
||||
[dependencies]
|
||||
base = { path = "../base" }
|
||||
cxx = { path = "../external/cxx-rs" }
|
||||
magiskpolicy = { path = "../sepolicy" }
|
||||
cxx = { workspace = true }
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
pub use logging::*;
|
||||
// Has to be pub so all symbols in that crate is included
|
||||
pub use magiskpolicy;
|
||||
|
||||
mod logging;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user