]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/lib.rs
Add generation of static libraries to rustc
[rust.git] / src / librustc / lib.rs
index b5703a62a1fd527695bbb23f42169219dbde0d75..90a005568b6b63bf393c21198270393d475966b3 100644 (file)
@@ -16,7 +16,8 @@
 
 #[comment = "The Rust compiler"];
 #[license = "MIT/ASL2"];
-#[crate_type = "lib"];
+#[crate_type = "lib"]; // NOTE: remove after stage0 snapshot
+#[crate_type = "dylib"];
 
 #[feature(macro_rules, globs, struct_variant, managed_boxes)];
 
@@ -87,6 +88,7 @@ pub mod front {
 }
 
 pub mod back {
+    pub mod archive;
     pub mod link;
     pub mod abi;
     pub mod upcall;