Add support for #[cfg_attr(feature="reload", no_mangle)]
README contains example how to use feature flag on one side of API, it would be nice if feature could be used on the other side of the api too.
Additionaly, no_mangle_if_debug looks like it uses debug_assertions , but reading documentation it looks like it doesn't work in debug mode if optimizations are enabled.
So alternative method for controlling no_mangle attribute would be useful
Add support for #[cfg_attr(feature="reload", no_mangle)]
README contains example how to use feature flag on one side of API, it would be nice if feature could be used on the other side of the api too.
Additionaly, no_mangle_if_debug looks like it uses debug_assertions , but reading documentation it looks like it doesn't work in debug mode if optimizations are enabled.
So alternative method for controlling no_mangle attribute would be useful