Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 5cdc348

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Remove libusb directory from libusb1-sys crate." into main
2 parents 3e917a7 + 9eef199 commit 5cdc348

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tools/external_crates/crate_tool/src/managed_crate.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,12 @@ static CUSTOMIZATIONS: &[&str] = &[
8080

8181
static SYMLINKS: &[&str] = &["LICENSE", "NOTICE"];
8282

83-
static DELETIONS: LazyLock<HashMap<&str, &[&str]>> =
84-
LazyLock::new(|| HashMap::from([("libbpf-sys", ["elfutils", "zlib", "libbpf"].as_slice())]));
83+
static DELETIONS: LazyLock<HashMap<&str, &[&str]>> = LazyLock::new(|| {
84+
HashMap::from([
85+
("libbpf-sys", ["elfutils", "zlib", "libbpf"].as_slice()),
86+
("libusb1-sys", ["libusb"].as_slice()),
87+
])
88+
});
8589

8690
impl<State: ManagedCrateState> ManagedCrate<State> {
8791
pub fn name(&self) -> &str {

0 commit comments

Comments
 (0)