From 11ee4e46b1d4856b2fd7753fbe5c78bb3a45bda0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Mon, 14 Jul 2014 13:48:31 +0200 Subject: [PATCH] Make cargo build a rlib too. --- Cargo.toml | 4 +--- src/lib.rs | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 34029620..8f51aa57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,9 @@ [package] - name = "nalgebra" version = "0.1.0" authors = [ "Sébastien Crozet " ] # FIXME: add the contributors. [[lib]] - name = "nalgebra" -crate_type = [ "dylib", "staticlib" ] +crate_type = [ "dylib", "staticlib", "rlib" ] path = "src/lib.rs" diff --git a/src/lib.rs b/src/lib.rs index 942166d2..47ed6b36 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,7 +97,6 @@ Feel free to add your project to this list if you happen to use **nalgebra**! */ #![crate_name = "nalgebra"] -#![crate_type = "lib"] #![deny(non_camel_case_types)] #![deny(unnecessary_parens)] #![deny(non_uppercase_statics)]