David Tolnay 2982d73777
Handle pointer cast of non-ffi-safe pointer target types
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
2021-03-22 20:10:18 -07:00
..
2021-03-18 14:11:25 -07:00

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.