Skip to content

Commit c0df139

Browse files
committed
Update crates with correct crate_type attribute
1 parent 47b9fc2 commit c0df139

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

src/cargo/cargo.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@
1515
uuid = "9ff87a04-8fed-4295-9ff8-f99bb802650b",
1616
url = "http://rust-lang.org/doc/cargo")];
1717

18+
#[crate_type = "bin"];
19+
1820
mod pgp;

src/comp/rustc.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

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

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

src/compiletest/compiletest.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[crate_type = "bin"];
2+
13
use std;
24

35
mod procsrv;

src/fuzzer/fuzzer.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// -*- rust -*-
22

3+
#[crate_type = "bin"];
4+
35
use std;
46
use rustc;
57

0 commit comments

Comments
 (0)