From 66e97a9b089f02e2454da21079bd243a10312599 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 15 Jan 2012 14:28:10 -0800 Subject: [PATCH] rustdoc: Add a crate file --- mk/tools.mk | 2 +- src/rustdoc/rustdoc.rc | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/rustdoc/rustdoc.rc diff --git a/mk/tools.mk b/mk/tools.mk index 8487a7054e10..0f9ebc9d0902 100644 --- a/mk/tools.mk +++ b/mk/tools.mk @@ -13,7 +13,7 @@ CARGO_CRATE := $(S)src/cargo/cargo.rc CARGO_INPUTS := $(wildcard $(S)src/cargo/*rs) # Rustdoc, the documentation tool -RUSTDOC_CRATE := $(wildcard $(S)src/rustdoc/.rc) +RUSTDOC_CRATE := $(S)src/rustdoc/rustdoc.rc RUSTDOC_INPUTS := $(wildcard $(S)src/rustdoc/*.rs) # FIXME: These are only built for the host arch. Eventually we'll diff --git a/src/rustdoc/rustdoc.rc b/src/rustdoc/rustdoc.rc new file mode 100644 index 000000000000..f6e8be863c5d --- /dev/null +++ b/src/rustdoc/rustdoc.rc @@ -0,0 +1,8 @@ +#[link(name = "rustdoc", + vers = "0.1", + uuid = "f8abd014-b281-484d-a0c3-26e3de8e2412", + url = "http://rust-lang.org/doc/rustdoc")]; + +#[desc = "The Rust documentation generator"]; +#[license = "MIT"]; +#[crate_type = "bin"];