diff --git a/Cargo.lock b/Cargo.lock index 0e8619b50..207edab91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -705,7 +705,7 @@ version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6058e64324c71e02bc2b150e4f3bc8286db6c83092132ffa3f6b1eab0f9def5" dependencies = [ - "hermit-abi", + "hermit-abi 0.1.19", "libc", ] @@ -1425,7 +1425,6 @@ dependencies = [ "serde", "serde_json", "shell-words", - "tempfile", "toml", "walkdir", "which", diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 02dda1d30..040352e47 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -23,4 +23,3 @@ once_cell = "1.15" semver = "1" chrono = "0.4" wildmatch = "2.1.1" -tempfile = "3.3.0" diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 3a751b841..195bcb7d7 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -8,7 +8,6 @@ pub mod crosstool; pub mod hooks; pub mod install_git_hooks; pub mod target_info; -pub mod temp; pub mod util; use ci::CiJob; @@ -24,7 +23,6 @@ use self::crosstool::ConfigureCrosstool; use self::hooks::{Check, Test}; use self::install_git_hooks::InstallGitHooks; use self::target_info::TargetInfo; -use self::temp::MakeTempDir; #[derive(Parser, Debug)] #[clap(version, about, long_about = None)] @@ -67,8 +65,6 @@ enum Commands { ValidateChangelog(ValidateChangelog), /// Code generation Codegen(Codegen), - /// Create temporary directory - MakeTempDir(MakeTempDir), } fn is_toolchain(toolchain: &str) -> cross::Result { @@ -135,7 +131,6 @@ pub fn main() -> cross::Result<()> { changelog::validate_changelog(args, &mut msg_info)?; } Commands::Codegen(args) => codegen::codegen(args)?, - Commands::MakeTempDir(args) => temp::make_temp_dir(args)?, } Ok(())