吕不为

Results 3 comments of 吕不为

``` #[api] pub fn abc(arg: MyType) { } ``` "api" is a custom macro implement like `pub exturn "C" fn abc(ptr *const ......` but cbindgen don't support

server0 订阅频道 a serverx 发布消息到频道a

create build.rs in project `fn main() { let target = std::env::var("TARGET").unwrap(); if target.contains("android") { println!("cargo:rustc-link-lib=c++_shared"); println!("cargo:rustc-link-arg=-fexceptions"); println!("cargo:rustc-link-arg=-frtti"); } }` and ,copy libc++_shared.so to your android project