Currently unity_native_plugin_entry_point macro depends on the unity_native_plugin crate is use-ed as unity_native_plugin.
This is typical case for modern rust since there is extern prelude, however, this may not true in some cases:
- When the macro is reexported in other crate
- When the macro is used inside a macro in another crate B, and used in another crate C.
I think the macro should use $crate instead to access their crate.
Currently
unity_native_plugin_entry_pointmacro depends on theunity_native_plugincrate isuse-ed asunity_native_plugin.This is typical case for modern rust since there is extern prelude, however, this may not true in some cases:
I think the macro should use
$crateinstead to access their crate.