Hacker News new | ask | show | jobs
by dgfgfdagasdfgfa 3418 days ago
Doesn't rust export the C abi? Or does the "c wrapper" just involve converting c types to rust domain types>
2 comments

You can very easily export a C api from rust. And fact you would have to if you wanted to write a wrapper anyways so I think the wrapper is probably unnecessary.
Sorry that's what I meant. Just export c ABI functions in a Rust crate.