Browse Source

Build both dynamic and static libraries

Simon Sapin 12 năm trước cách đây
mục cha
commit
d3d0cb7579
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/url.rs

+ 2 - 1
src/url.rs

@@ -7,7 +7,8 @@
 // except according to those terms.
 
 #![crate_name = "url_"]
-#![crate_type = "lib"]
+#![crate_type = "dylib"]
+#![crate_type = "rlib"]
 #![feature(macro_rules, default_type_params)]
 
 extern crate encoding;