Make cargo build a rlib too.

This commit is contained in:
Sébastien Crozet 2014-07-14 13:48:31 +02:00
parent 2ff660dfe1
commit 11ee4e46b1
2 changed files with 1 additions and 4 deletions

View File

@ -1,11 +1,9 @@
[package] [package]
name = "nalgebra" name = "nalgebra"
version = "0.1.0" version = "0.1.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ] # FIXME: add the contributors. authors = [ "Sébastien Crozet <developer@crozet.re>" ] # FIXME: add the contributors.
[[lib]] [[lib]]
name = "nalgebra" name = "nalgebra"
crate_type = [ "dylib", "staticlib" ] crate_type = [ "dylib", "staticlib", "rlib" ]
path = "src/lib.rs" path = "src/lib.rs"

View File

@ -97,7 +97,6 @@ Feel free to add your project to this list if you happen to use **nalgebra**!
*/ */
#![crate_name = "nalgebra"] #![crate_name = "nalgebra"]
#![crate_type = "lib"]
#![deny(non_camel_case_types)] #![deny(non_camel_case_types)]
#![deny(unnecessary_parens)] #![deny(unnecessary_parens)]
#![deny(non_uppercase_statics)] #![deny(non_uppercase_statics)]