Cargo Features

tracers-libstapsdt-sys has no features set by default.

[dependencies]
tracers-libstapsdt-sys = { version = "0.1.0", features = ["enabled", "required"] }
default

by default, building libstapsdt is disabled. It must be explicitly enabled

enabled = libc

if this feature is enabled, then the build.rs will try to build the libstapsdt binaries.
if the build fails, this crate's build will still succeed
The success or failure of the build will be communicated via a variable in cargo,
which dependent crates can resolve with DEP_LIBELF_SYS_SUCCEEDED

Enables enabled of tracers-libelf-sys

required = libc

If this feature is enabled, it implies enabled, and also will cause the build to fail if libstapsdt cannot be built

Enables required of tracers-libelf-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

libc enabled? required?
tracers-libelf-sys enabled? required?