From a911377f5df0209a16c7f73b67deb3b2c3e079b0 Mon Sep 17 00:00:00 2001 From: Congyu WANG Date: Mon, 4 Nov 2024 13:47:25 +0800 Subject: [PATCH] add a note about their mutual exclusivity --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c8dea05ca..51c8e2148 100644 --- a/README.md +++ b/README.md @@ -70,3 +70,5 @@ The feature `bindgen-static` will enable the `static` feature of bindgen, which links to libclang. This is suitable for musllinux platforms, such as Alpine linux. To build on Alpine linux for example, build with `--no-default-features --features bindgen-static,other-features-1,other-features-2`. + +Notice that `runtime` and `static` features are mutually exclusive, and won't compile if both enabled.