Fix init rust code setup

This commit is contained in:
topjohnwu
2023-05-23 21:50:13 -07:00
parent 8e8f01f8b5
commit 5a94ef9106
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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();
}