https://pantsbuild.org/ logo
a

average-vr-56795

09/18/2019, 10:57 AM
@aloof-angle-91616 FWIW I put together https://crates.io/crates/num_enum as a basic implementation of something like what you’re describing which we use in pants for log levels; it does type-safe conversions of enums to FFIable numbers - doing something similar which does a full ffi binding could be very cool!
👖 2
🔥 2
❤️ 2