Procedural macro for defining global constructor/destructor functions.
This provides module initialization/teardown functions for Rust (like
__attribute__((constructor)) in C/C++) for Linux, OSX, and Windows via
This library works and is regularly tested on Linux, OSX and Windows, with both
Other platforms are supported but not tested as part of the automatic builds. This library will also work as expected in both
cdylib outputs, ie: the
dtor will run at executable or library
This library currently requires Rust >
1.31.0 at a minimum for the
procedural macro support.