summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul <47524932+spector-9@users.noreply.github.com>2024-03-21 01:06:03 +0530
committerZaidoon Abd Al Hadi <43054535+zaidoon1@users.noreply.github.com>2024-03-25 04:24:23 -0400
commit78509aed34668a4f2396754078c3bd63f82072fc (patch)
treecbc7a6193501da397e5589c3c6ede12d25281c3f
parentda8cf6eba00597f6e4152395ec4b3fd882e8eae2 (diff)
Add readme for mt_static feature.
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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.*
+