Explorar el Código

Build both dynamic and static libraries

Simon Sapin hace 12 años
padre
commit
d3d0cb7579
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;