Cargo Features
[dependencies]
snmalloc-sys = { version = "0.3.7", default-features = false, features = ["build_cc", "build_cmake", "native-cpu", "check", "usewait-on-address"] }
- default = build_cmake
-
The
build_cmake
feature is set by default wheneversnmalloc-sys
is added without
somewhere in the dependency tree.default-features = false - build_cc = cc
- build_cmake default = cmake
- qemu debug android-lld native-cpu
- local_dynamic_tls win8compat usecxx17 check
- lto notls stats usewait-on-address
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- cc build build_cc?
- cmake build build_cmake