4 ms·
> C++ at least has extern "C" going for it, which disables name mangling. Rust doesn't have that It does, it's called "#[no_mangle]", and together with an exte
by throwaway_se099 8y ago
> C++ at least has extern "C" going for it, which disables name mangling. Rust doesn't have that
It does, it's called "#[no_mangle]", and together with an extern "C" fn declaration you get a non-mangled function directly callable from C.
- gammagoblin 8y agoI see, I admittedly didn't know that. Thanks.