We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1e3e75 commit 3ecff1bCopy full SHA for 3ecff1b
src/bootstrap/src/core/build_steps/run.rs
@@ -1,8 +1,6 @@
1
use std::path::PathBuf;
2
use std::process::Command;
3
4
-use clap_complete::shells;
5
-
6
use crate::core::build_steps::dist::distdir;
7
use crate::core::build_steps::test;
8
use crate::core::build_steps::tool::{self, SourceType, Tool};
src/bootstrap/src/utils/bin_helpers.rs
@@ -18,6 +18,7 @@ pub(crate) fn parse_rustc_verbose() -> usize {
18
/// Parses the value of the "RUSTC_STAGE" environment variable and returns it as a `String`.
19
///
20
/// If "RUSTC_STAGE" was not set, the program will be terminated with 101.
21
+#[allow(unused)]
22
pub(crate) fn parse_rustc_stage() -> String {
23
std::env::var("RUSTC_STAGE").unwrap_or_else(|_| {
24
// Don't panic here; it's reasonable to try and run these shims directly. Give a helpful error instead.
0 commit comments