Tpt commented on PR #12421:
URL: https://github.com/apache/arrow-rs/pull/12421#issuecomment-7193520367

   Make sense to me. It's a bit sad to need a `build.rs` script for that but I 
do not have a good approach that is both "transparently work" when Clang CFI is 
enabled and does not require renames.
   
   An other option might be to "hack" with something like
   
   ```
   #[repr(C)]
   struct ArrowSchema {
       // ...
   }
   
   pub use ArrowSchema as FFI_ArrowSchema;
   ```
   
   it would not change the public API but change the internal type name, maybe 
at the risk of making rustdoc a bit ugly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to