From 5712a2ef50eb04551b379935c503e3d234239886 Mon Sep 17 00:00:00 2001 From: Julian Tescher Date: Wed, 8 Jan 2020 18:03:03 -0500 Subject: [PATCH] Prefer rlib when linking See https://github.com/rust-lang/rust/issues/19680#issuecomment-97470922 for details on why this is necessary. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index dcf0426..72fa940 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [lib] path = "src/lib.rs" -crate-type = ["dylib"] +crate-type = ["rlib", "dylib"] [features] default = []