mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Fix init rust code setup
This commit is contained in:
parent
8e8f01f8b5
commit
5a94ef9106
@ -12,4 +12,4 @@ cxx-gen = { path = "../external/cxx-rs/gen/lib" }
|
||||
|
||||
[dependencies]
|
||||
base = { path = "../base" }
|
||||
cxx = "1.0.69"
|
||||
cxx = { path = "../external/cxx-rs" }
|
||||
|
@ -2,8 +2,9 @@ pub use logging::*;
|
||||
|
||||
mod logging;
|
||||
|
||||
#[cxx::bridge(namespace = "rust")]
|
||||
pub mod ffi2 {
|
||||
#[cxx::bridge]
|
||||
pub mod ffi {
|
||||
#[namespace = "rust"]
|
||||
extern "Rust" {
|
||||
fn setup_klog();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user