diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc index 782faab69a2..14b68ae6dee 100644 --- a/src/comp/rustc.rc +++ b/src/comp/rustc.rc @@ -7,7 +7,7 @@ #[desc = "The Rust compiler"]; #[license = "BSD"]; - +#[crate_type = "bin"]; use std (name = "std", vers = "0.1", diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 6feaf8fbfab..90cd1d145f0 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -5,7 +5,7 @@ #[comment = "The Rust core library"]; #[license = "BSD"]; - +#[crate_type = "lib"]; // Local Variables: // mode: rust; diff --git a/src/libstd/std.rc b/src/libstd/std.rc index 1f0d1b06093..491b383de37 100644 --- a/src/libstd/std.rc +++ b/src/libstd/std.rc @@ -5,7 +5,7 @@ #[comment = "The Rust standard library"]; #[license = "BSD"]; - +#[crate_type = "lib"]; export box, char, float, int, str, ptr; export uint, u8, u32, u64, vec, bool;