Skip to content

Commit ec0cabd

Browse files
authored
Rollup merge of #77786 - jyn514:rustdoc, r=Mark-Simulacrum
Mention rustdoc in `x.py setup` This lets new contributors know which option they should pick; previously it wasn't clear 'compiler' also included rustdoc. Unresolved questions: should this say 'compiler and tools' instead? I don't know of any tools that are modified in-tree other than rustdoc, though. r? @Mark-Simulacrum
2 parents fe7e794 + 23c3356 commit ec0cabd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/setup.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl FromStr for Profile {
3030
fn from_str(s: &str) -> Result<Self, Self::Err> {
3131
match s {
3232
"a" | "lib" | "library" => Ok(Profile::Library),
33-
"b" | "compiler" => Ok(Profile::Compiler),
33+
"b" | "compiler" | "rustdoc" => Ok(Profile::Compiler),
3434
"c" | "llvm" | "codegen" => Ok(Profile::Codegen),
3535
"d" | "maintainer" | "user" => Ok(Profile::User),
3636
_ => Err(format!("unknown profile: '{}'", s)),
@@ -108,7 +108,7 @@ pub fn interactive_path() -> io::Result<Profile> {
108108
println!(
109109
"Welcome to the Rust project! What do you want to do with x.py?
110110
a) Contribute to the standard library
111-
b) Contribute to the compiler
111+
b) Contribute to the compiler or rustdoc
112112
c) Contribute to the compiler, and also modify LLVM or codegen
113113
d) Install Rust from source"
114114
);

0 commit comments

Comments
 (0)