瀏覽代碼

Build both dynamic and static libraries

Simon Sapin 12 年之前
父節點
當前提交
d3d0cb7579
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;