From 685154795711b85d8c5b185de2248251bd7fee08 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Thu, 5 Nov 2020 12:29:53 +0900 Subject: [PATCH] Add rlib to crate-type --- template/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/Cargo.toml b/template/Cargo.toml index 71d764c..ae07470 100644 --- a/template/Cargo.toml +++ b/template/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" edition = "2018" [lib] -crate-type = ["cdylib"] +crate-type = ["cdylib", "rlib"] [profile.release] # This makes the compiled code faster and smaller, but it makes compiling slower,