Cargo Features
[dependencies]
wild-linker = { version = "0.4.0", default-features = false, features = ["fork", "mimalloc", "dhat"] }
- default = fork
-
The
fork
feature is set by default wheneverwild-linker
is added without
somewhere in the dependency tree.default-features = false - fork default
-
libwild:
Support for running the linker as a subprocess.
Features from optional dependencies
- mimalloc implicit feature
-
Enables mimalloc
This is off by default, since it doesn't appear to help. However, if you're linking against musl libc, which has a comparatively slow allocator, then enabling this does help. To enable this, build with
--features mimalloc
. - dhat implicit feature
-
Enables dhat
dhat:
A library for heap profiling and ad hoc profiling with DHAT