From c78c7babeccaffe9133f0dbdbd73846f19fadbec Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Mon, 25 Nov 2024 17:15:14 +0000 Subject: [PATCH] dist: don't try and add files I removed --- src/bootstrap/src/utils/tarball.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/bootstrap/src/utils/tarball.rs b/src/bootstrap/src/utils/tarball.rs index 3c6c7a7fa180a..8c73228feb29c 100644 --- a/src/bootstrap/src/utils/tarball.rs +++ b/src/bootstrap/src/utils/tarball.rs @@ -31,7 +31,7 @@ pub(crate) enum OverlayKind { impl OverlayKind { fn legal_and_readme(&self) -> &[&str] { match self { - OverlayKind::Rust => &["COPYRIGHT", "LICENSE-APACHE", "LICENSE-MIT", "README.md"], + OverlayKind::Rust => &["COPYRIGHT", "README.md"], OverlayKind::Llvm => { &["src/llvm-project/llvm/LICENSE.TXT", "src/llvm-project/llvm/README.txt"] } @@ -67,12 +67,9 @@ impl OverlayKind { "compiler/rustc_codegen_cranelift/LICENSE-APACHE", "compiler/rustc_codegen_cranelift/LICENSE-MIT", ], - OverlayKind::LlvmBitcodeLinker => &[ - "COPYRIGHT", - "LICENSE-APACHE", - "LICENSE-MIT", - "src/tools/llvm-bitcode-linker/README.md", - ], + OverlayKind::LlvmBitcodeLinker => { + &["COPYRIGHT", "src/tools/llvm-bitcode-linker/README.md"] + } } }