From 0a47a38fd0099f654a1cd38e1de6bbb641863f13 Mon Sep 17 00:00:00 2001 From: Caleb Cartwright Date: Tue, 9 Feb 2021 19:56:18 -0600 Subject: [PATCH] remove unused backtrace refs --- Cargo.lock | 4 ---- Cargo.toml | 6 ------ src/tools/tidy/src/deps.rs | 1 - 3 files changed, 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bc5f2a0af93..a9e65ffc391 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5581,7 +5581,3 @@ checksum = "39f0c922f1a334134dc2f7a8b67dc5d25f0735263feec974345ff706bcf20b0d" dependencies = [ "linked-hash-map", ] - -[[patch.unused]] -name = "backtrace" -version = "0.3.55" diff --git a/Cargo.toml b/Cargo.toml index f3b2e0f740d..f961d3e9b97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -106,11 +106,5 @@ rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' } rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' } rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' } -# This crate's integration with libstd is a bit wonky, so we use a submodule -# instead of a crates.io dependency. Make sure everything else in the repo is -# also using the submodule, however, so we can avoid duplicate copies of the -# source code for this crate. -backtrace = { path = "library/backtrace" } - [patch."https://github.com/rust-lang/rust-clippy"] clippy_lints = { path = "src/tools/clippy/clippy_lints" } diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs index 4b521985ca1..f127086724f 100644 --- a/src/tools/tidy/src/deps.rs +++ b/src/tools/tidy/src/deps.rs @@ -67,7 +67,6 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[ "arrayvec", "atty", "autocfg", - "backtrace", "bitflags", "block-buffer", "block-padding",