From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- src/tools/rustdoc/Cargo.toml | 17 +++++++++++++++++ src/tools/rustdoc/main.rs | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 src/tools/rustdoc/Cargo.toml create mode 100644 src/tools/rustdoc/main.rs (limited to 'src/tools/rustdoc') diff --git a/src/tools/rustdoc/Cargo.toml b/src/tools/rustdoc/Cargo.toml new file mode 100644 index 000000000..c4101f72c --- /dev/null +++ b/src/tools/rustdoc/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "rustdoc-tool" +version = "0.0.0" +edition = "2021" + +# Cargo adds a number of paths to the dylib search path on windows, which results in +# the wrong rustdoc being executed. To avoid the conflicting rustdocs, we name the "tool" +# rustdoc a different name. +[[bin]] +name = "rustdoc_tool_binary" +path = "main.rs" + +[dependencies] +rustdoc = { path = "../../librustdoc" } + +[features] +jemalloc = ['rustdoc/jemalloc'] diff --git a/src/tools/rustdoc/main.rs b/src/tools/rustdoc/main.rs new file mode 100644 index 000000000..5b499a1fa --- /dev/null +++ b/src/tools/rustdoc/main.rs @@ -0,0 +1,3 @@ +fn main() { + rustdoc::main() +} -- cgit v1.2.3