about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-05-11 20:51:05 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-05-17 08:47:25 -0600
commit47f88e17ab149d18b7aa295645cc2524de06e2bf (patch)
tree4dbed556389acb3f75d5d41c67baefdcb406383b
parent9e3432447a9c6386443acdf731d488c159be3f66 (diff)
downloadrust-47f88e17ab149d18b7aa295645cc2524de06e2bf.tar.gz
rust-47f88e17ab149d18b7aa295645cc2524de06e2bf.zip
Rename rustdoc to use underscores
-rw-r--r--src/bootstrap/tool.rs2
-rw-r--r--src/tools/rustdoc/Cargo.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 4b6e266f1e5..29f37b36e2a 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -431,7 +431,7 @@ impl Step for Rustdoc {
         // the wrong rustdoc being executed. To avoid the conflicting rustdocs, we name the "tool"
         // rustdoc a different name.
         let tool_rustdoc = builder.cargo_out(build_compiler, Mode::Tool, target)
-            .join(exe("rustdoc-tool-binary", &target_compiler.host));
+            .join(exe("rustdoc_tool_binary", &target_compiler.host));
 
         // don't create a stage0-sysroot/bin directory.
         if target_compiler.stage > 0 {
diff --git a/src/tools/rustdoc/Cargo.toml b/src/tools/rustdoc/Cargo.toml
index 344f617ef95..d3881500441 100644
--- a/src/tools/rustdoc/Cargo.toml
+++ b/src/tools/rustdoc/Cargo.toml
@@ -7,7 +7,7 @@ authors = ["The Rust Project Developers"]
 # the wrong rustdoc being executed. To avoid the conflicting rustdocs, we name the "tool"
 # rustdoc a different name.
 [[bin]]
-name = "rustdoc-tool-binary"
+name = "rustdoc_tool_binary"
 path = "main.rs"
 
 [dependencies]