ctor 0.13.0

__attribute__((constructor)) for Rust
Documentation
1
2
3
4
5
use ctor::ctor;

unsafe fn foo() {
    println!("foo");
}