From d4da54b10bc33f64a77ddfb4a78da414d27f696d Mon Sep 17 00:00:00 2001 From: Piotr Sarna Date: Tue, 9 May 2023 10:28:26 +0200 Subject: [PATCH] mvcc: build static library for C bindings That's how it's currently consumed by libSQL. --- core/mvcc/bindings/c/Cargo.toml | 2 +- core/mvcc/mvcc-rs/Cargo.toml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/mvcc/bindings/c/Cargo.toml b/core/mvcc/bindings/c/Cargo.toml index ff70199b8..6fa92a9dc 100644 --- a/core/mvcc/bindings/c/Cargo.toml +++ b/core/mvcc/bindings/c/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.0" edition = "2021" [lib] -crate-type = ["cdylib"] +crate-type = ["cdylib", "staticlib"] doc = false [build-dependencies] diff --git a/core/mvcc/mvcc-rs/Cargo.toml b/core/mvcc/mvcc-rs/Cargo.toml index 0c29c664d..9b6bd5d9d 100644 --- a/core/mvcc/mvcc-rs/Cargo.toml +++ b/core/mvcc/mvcc-rs/Cargo.toml @@ -26,9 +26,6 @@ tracing-subscriber = "0" tracing-test = "0" mvcc-rs = { path = ".", features = ["tokio"] } -[lib] -crate-type = ["rlib", "cdylib", "staticlib"] - [[bench]] name = "my_benchmark" harness = false