Crate tracers_build

Source
Expand description

Simply re-exports the build-related functions in tracers-codegen

Enums§

TracersError

Functions§

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.
tracers_build
This function is the counterpart to build, which is intended to be invoked in the tracers build.rs script. It reads the feature flags enabled on tracers, and from those flags and other information about the target sytem and the local build environment selects an implementation to use, or panics if no suitable implementation is possible

Type Aliases§

TracersResult