Skip to content

Commit 4f17131

Browse files
committed
Add crate_type attributes to rustc, std, core
1 parent 9116a6d commit 4f17131

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/comp/rustc.rc

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#[desc = "The Rust compiler"];
99
#[license = "BSD"];
10-
10+
#[crate_type = "bin"];
1111

1212
use std (name = "std",
1313
vers = "0.1",

src/libcore/core.rc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#[comment = "The Rust core library"];
77
#[license = "BSD"];
8-
8+
#[crate_type = "lib"];
99

1010
// Local Variables:
1111
// mode: rust;

src/libstd/std.rc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#[comment = "The Rust standard library"];
77
#[license = "BSD"];
8-
8+
#[crate_type = "lib"];
99

1010
export box, char, float, int, str, ptr;
1111
export uint, u8, u32, u64, vec, bool;

0 commit comments

Comments
 (0)