From 78509aed34668a4f2396754078c3bd63f82072fc Mon Sep 17 00:00:00 2001 From: Saul <47524932+spector-9@users.noreply.github.com> Date: Thu, 21 Mar 2024 01:06:03 +0530 Subject: Add readme for mt_static feature. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 45f4bce..e7c574c 100644 --- a/README.md +++ b/README.md @@ -64,3 +64,11 @@ a binary that fails with `SIGILL` on machines without AVX512. Set the `portable` feature on this crate to pass `PORTABLE=1` to RocksDB's build, which will create a portable binary at the cost of some performance. + +## Switch between /MT or /MD run time library (Only for Windows) + +The feature `mt_static` will request the library to be built with [/MT](https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170) +flag, which results in library using the static version of the run-time library. +*This can be useful in case there's a conflict in the dependecy tree between different +run-time versions.* + -- cgit v1.2.3-70-g09d2