From 42b24de121311fcabfa44ebba09f1a965bdb3617 Mon Sep 17 00:00:00 2001 From: Jonathan Simms Date: Thu, 13 Dec 2018 14:39:43 -0500 Subject: [PATCH] Simplify rust options, specify fewer output targets (#183) --- rust/Cargo.toml | 4 ++-- rust/cc_binding/Cargo.toml | 1 - rust/ccommon_rs/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index ae5821dad..ccde17a74 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -8,8 +8,8 @@ members = [ [profile.release] opt-level = 3 debug = true -rpath = false -lto = true +# rpath = false +# lto = true debug-assertions = false codegen-units = 1 diff --git a/rust/cc_binding/Cargo.toml b/rust/cc_binding/Cargo.toml index 0ad06b1df..4182cbc6d 100644 --- a/rust/cc_binding/Cargo.toml +++ b/rust/cc_binding/Cargo.toml @@ -9,4 +9,3 @@ failure = "~0.1.1" [lib] name = "cc_binding" -crate-type = ["rlib", "dylib", "staticlib", "lib"] diff --git a/rust/ccommon_rs/Cargo.toml b/rust/ccommon_rs/Cargo.toml index 69de89ef3..2b25168a0 100644 --- a/rust/ccommon_rs/Cargo.toml +++ b/rust/ccommon_rs/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Jonathan Simms "] [lib] name = "ccommon_rs" -crate-type = ["lib", "dylib", "rlib", "staticlib"] +crate-type = ["staticlib", "rlib"] [dependencies]