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 whenever wild-linker is added without default-features = false somewhere in the dependency tree.

fork default

Enables fork of libwild

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