Lines Matching +full:proc +full:- +full:macro +full:- +full:srv
32 /// Nightly-only features that are allowed (comma-separated list).
44 ) -> Option<gha::Group> { in msg_tool()
63 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
71 fn run(self, builder: &Builder<'_>) -> Option<PathBuf> { in run()
125 // compiletest confuses HTML tidy with the in-tree tidy. Name the in-tree tidy something in run()
128 tool = "rust-tidy"; in run()
147 ) -> CargoCommand { in prepare_tool_cargo()
150 cargo.arg("--manifest-path").arg(dir.join("Cargo.toml")); in prepare_tool_cargo()
163 features.push("all-static".to_string()); in prepare_tool_cargo()
176 // import rustc-ap-rustc_attr which requires this to be set for the in prepare_tool_cargo()
201 cargo.arg("--features").arg(&features.join(", ")); in prepare_tool_cargo()
222 pub fn tool_exe(&self, tool: Tool) -> PathBuf {
244 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
256 fn run(self, builder: &Builder<'_>) -> PathBuf {
262 // use in-tree libraries for unstable features
276 }).expect("expected to build -- essential tool")
285 UnstableBookGen, "src/tools/unstable-book-gen", "unstable-book-gen";
290 BuildManifest, "src/tools/build-manifest", "build-manifest";
291 RemoteTestClient, "src/tools/remote-test-client", "remote-test-client";
292 RustInstaller, "src/tools/rust-installer", "rust-installer";
293 RustdocTheme, "src/tools/rustdoc-themes", "rustdoc-themes";
294 ExpandYamlAnchors, "src/tools/expand-yaml-anchors", "expand-yaml-anchors";
295 LintDocs, "src/tools/lint-docs", "lint-docs";
298 HtmlChecker, "src/tools/html-checker", "html-checker";
299 BumpStage0, "src/tools/bump-stage0", "bump-stage0";
300 … ReplaceVersionPlaceholder, "src/tools/replace-version-placeholder", "replace-version-placeholder";
301 CollectLicenseMetadata, "src/tools/collect-license-metadata", "collect-license-metadata";
302 GenerateCopyright, "src/tools/generate-copyright", "generate-copyright";
303 SuggestTests, "src/tools/suggest-tests", "suggest-tests";
304 GenerateWindowsSys, "src/tools/generate-windows-sys", "generate-windows-sys";
305 …RustdocGUITest, "src/tools/rustdoc-gui-test", "rustdoc-gui-test", is_unstable_tool = true, allow_f…
314 pub fn command(builder: &Builder<'_>) -> Command { in command()
315 // Error-index-generator links with the rustdoc library, so we need to add `rustc_lib_paths` in command()
330 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
335 // Compile the error-index in the same stage as rustdoc to avoid in make_run()
340 // src/tools/error-index-generator` which almost nobody does. in make_run()
348 fn run(self, builder: &Builder<'_>) -> PathBuf { in run()
361 .expect("expected to build -- essential tool") in run()
374 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
375 run.path("src/tools/remote-test-server") in should_run()
385 fn run(self, builder: &Builder<'_>) -> PathBuf { in run()
390 tool: "remote-test-server", in run()
392 path: "src/tools/remote-test-server", in run()
398 .expect("expected to build -- essential tool") in run()
414 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
428 fn run(self, builder: &Builder<'_>) -> PathBuf { in run()
441 let build_compiler = builder.compiler(target_compiler.stage - 1, builder.config.build); in run()
443 // When using `download-rustc` and a stage0 build_compiler, copying rustc doesn't actually in run()
448 // NOTE: this implies that `download-rustc` is pretty useless when compiling with the stage0 in run()
452 …"warning: `download-rustc` does nothing when building stage1 tools; consider using `--stage 2` ins… in run()
480 cargo.rustflag("--cfg=parallel_compiler"); in run()
499 // don't create a stage0-sysroot/bin directory. in run()
525 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
544 fn run(self, builder: &Builder<'_>) -> PathBuf { in run()
557 .expect("expected to build -- essential tool"); in run()
577 "cargo-credential-wincred", in run()
578 "src/tools/cargo/credential/cargo-credential-wincred", in run()
581 if self.target.contains("apple-darwin") { in run()
583 "cargo-credential-macos-keychain", in run()
584 "src/tools/cargo/credential/cargo-credential-macos-keychain", in run()
588 "cargo-credential-1password", in run()
589 "src/tools/cargo/credential/cargo-credential-1password", in run()
604 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
608 fn run(self, builder: &Builder<'_>) -> PathBuf { in run()
613 tool: "lld-wrapper", in run()
615 path: "src/tools/lld-wrapper", in run()
621 .expect("expected to build -- essential tool"); in run()
643 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
645 run.path("src/tools/rust-analyzer").default_condition( in should_run()
651 .map_or(true, |tools| tools.iter().any(|tool| tool == "rust-analyzer")), in should_run()
662 fn run(self, builder: &Builder<'_>) -> Option<PathBuf> { in run()
666 tool: "rust-analyzer", in run()
668 path: "src/tools/rust-analyzer", in run()
669 extra_features: vec!["rust-analyzer/in-rust-tree".to_owned()], in run()
688 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
690 …// Allow building `rust-analyzer-proc-macro-srv` both as part of the `rust-analyzer` and as a stan… in should_run()
691 run.path("src/tools/rust-analyzer") in should_run()
692 .path("src/tools/rust-analyzer/crates/proc-macro-srv-cli") in should_run()
696 .any(|tool| tool == "rust-analyzer" || tool == "rust-analyzer-proc-macro-srv") in should_run()
707 fn run(self, builder: &Builder<'_>) -> Option<PathBuf> { in run()
711 tool: "rust-analyzer-proc-macro-srv", in run()
713 path: "src/tools/rust-analyzer/crates/proc-macro-srv-cli", in run()
714 extra_features: vec!["sysroot-abi".to_owned()], in run()
720 // Copy `rust-analyzer-proc-macro-srv` to `<sysroot>/libexec/` in run()
721 // so that r-a can use it. in run()
724 builder.copy(&path, &libexec_path.join("rust-analyzer-proc-macro-srv")); in run()
753 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
764 "clippy" => $tool_name == "clippy-driver",
780 fn run(mut $sel, $builder: &Builder<'_>) -> Option<PathBuf> {
823 Cargofmt, "src/tools/rustfmt", "cargo-fmt", stable=true;
824 CargoClippy, "src/tools/clippy", "cargo-clippy", stable=true;
825 …Clippy, "src/tools/clippy", "clippy-driver", stable=true, add_bins_to_sysroot = ["clippy-driver", …
827 …CargoMiri, "src/tools/miri/cargo-miri", "cargo-miri", stable=true, add_bins_to_sysroot = ["cargo-m…
832 RustDemangler, "src/tools/rust-demangler", "rust-demangler", stable=false, tool_std=true;
833 …Rustfmt, "src/tools/rustfmt", "rustfmt", stable=true, add_bins_to_sysroot = ["rustfmt", "cargo-fmt…
839 pub fn tool_cmd(&self, tool: Tool) -> Command { in tool_cmd()
852 // On MSVC a tool may invoke a C compiler (e.g., compiletest in run-make in tool_cmd()