Crate init [−] [src]
Mark a function to run before main.
src/main.rs
```rust
extern crate init;
use init::init;
[init]
fn init() { }
fn main() { } ```
build.rs
```rust
extern crate init;
fn main() { init::build(); } ```
Functions
build |
Build (and link) supporting code. Intended to be used in a build.rs file |