dtor 0.11.0

__attribute__((destructor)) for Rust
Documentation
fn foo() {
    const _: () = {
        #[link_section = ".dtors"]
        #[used]
        static __DTOR_PRIVATE_REF: extern "C" fn() = {
            extern "C" fn __dtor_private() {
                { foo() }
            }
            __dtor_private
        };
    };
    {
        ::std::io::_print(format_args!("foo\n"));
    };
}
fn bar() {
    const _: () = {
        #[link_section = ".dtors"]
        #[used]
        static __DTOR_PRIVATE_REF: extern "C" fn() = {
            extern "C" fn __dtor_private() {
                { bar() }
            }
            __dtor_private
        };
    };
    {
        ::std::io::_print(format_args!("foo\n"));
    };
}