Cargo Features
[dependencies]
divan = { version = "0.1.15", default-features = false, features = ["help", "wrap_help", "dyn_thread_local", "internal_benches"] }
- default = wrap_help
-
The
wrap_help
feature is set by default wheneverdivan
is added without
somewhere in the dependency tree.default-features = false - help wrap_help
- wrap_help default = help
- dyn_thread_local
-
Opt out of faster static thread-local access and instead always dynamically allocate thread-local storage.
On x86_64 macOS we use TLS key 11 (reserved for Windows ABI compatability): https://github.com/apple-oss-distributions/libpthread/blob/libpthread-519/private/pthread/tsd_private.h#L99
- internal_benches
-
Benchmark internals. Not meant for public use.