mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2025-02-17 06:57:37 +00:00
![David Tolnay](/assets/img/avatar_default.png)
Previously: error: `extern` block uses type `String`, which is not FFI-safe --> src/main.rs:13:27 | 13 | unsafe fn test(x: *mut String); | ^^^^^^^^^^^ not FFI-safe
This directory contains CXX's Rust code generator, which is a procedural macro.
Users won't depend on this crate directly. Instead they'll invoke its macro
through the reexport in the main cxx
crate.