[−][src]Function tracers_build::build
pub fn build()
Called from the build.rs
of all crates which have a direct dependency on tracers
and
tracers_macros
. This determines the compile-time configuration of the tracers
crate, and
performs any build-time code generation necessary to support the code generated by the
tracers_macros
macros.
It should be the first line in the main()
function, etc:
// build.rs
use tracers_build::build;
fn main() {
build();
//....
}