Crate level macro

It's there a way to define a custom crate level procedure macro? I want to perform automatic function stubbing to all my functions at entrances and exits, as I know there's already no way to support compiler plugin to do this. I've read several issues about custom inner attribute but there's no example and I just could not use them.
BTW, if there's still a way to write compiler plugin, just please let me know

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.