Skip to content

Commit 66e97a9

Browse files
committed
rustdoc: Add a crate file
1 parent 6860dcc commit 66e97a9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

mk/tools.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CARGO_CRATE := $(S)src/cargo/cargo.rc
1313
CARGO_INPUTS := $(wildcard $(S)src/cargo/*rs)
1414

1515
# Rustdoc, the documentation tool
16-
RUSTDOC_CRATE := $(wildcard $(S)src/rustdoc/.rc)
16+
RUSTDOC_CRATE := $(S)src/rustdoc/rustdoc.rc
1717
RUSTDOC_INPUTS := $(wildcard $(S)src/rustdoc/*.rs)
1818

1919
# FIXME: These are only built for the host arch. Eventually we'll

src/rustdoc/rustdoc.rc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#[link(name = "rustdoc",
2+
vers = "0.1",
3+
uuid = "f8abd014-b281-484d-a0c3-26e3de8e2412",
4+
url = "http://rust-lang.org/doc/rustdoc")];
5+
6+
#[desc = "The Rust documentation generator"];
7+
#[license = "MIT"];
8+
#[crate_type = "bin"];

0 commit comments

Comments
 (0)