You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b5ef0fd
Browse filesBrowse the repository at this point in the historyBrowse files
|`secure_checked`|`secure_basic` plus validated free pointers and randomized free lists (as `-DMI_SECURE=CHECKED`) |
55
57
|`override`| Also override `malloc`, `free`, etc. in the final binary |
56
58
|`debug`| Build mimalloc with assertions and internal checks |
57
59
|`debug_in_debug`| As `debug`, but only when `debug_assertions` are on |
58
60
|`local_dynamic_tls`| Use the local-dynamic TLS model (for dynamically loaded libraries) |
59
-
|`win_direct_tls`| Use direct TLS slots on Windows |
60
61
|`no_thp`| Disable transparent huge pages by default on Linux |
61
62
|`opt_arch`| Architecture specific optimizations (as `-DMI_OPT_ARCH=ON`) |
62
63
|`mte`| Memory tagging; requires MTE support at runtime (aarch64 Linux, Android, and Apple only (where macOS also needs the MTE entitlement); as `-DMI_MTE=ON`, which also enables PAC unless `MIMALLOC_DEFINES="MI_PAC=0"`) |
63
64
|`pac`| Sign internal pointers with pointer authentication; requires PAC support at runtime (aarch64 Linux, Android, and Apple only; as `-DMI_PAC=ON`) |
64
65
|`nightly`|`Allocator` support on nightly compilers before Rust 1.100 (`mimalloc` only) |
65
66
66
67
All features except `nightly` are build options of the C library in `mimalloc-sys`
67
-
(and are forwarded by `mimalloc`). Feature `mte` does not a separate `secure` (but encompasses it).
68
-
The combination `mte` and `pac` offers strong hardware supported security mitigation.
68
+
(and are forwarded by `mimalloc`). Feature `mte` does not need a separate `secure` or `pac` (but encompasses it).
69
+
If several `secure*` features are enabled, the highest level is used.
69
70
70
71
Architecture optimizations are also enabled automatically if the Rust target features
0 commit comments