From 49fbb936a0eac97bfd24f3d60450432386bf739c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 23 May 2023 16:05:55 -0400 Subject: [PATCH] build: use new `tier = 2` from cargo-vendor-filterer This is nicer than having a hardcoded list. --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e643649c..1ca6da96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,9 @@ debug = true # See https://github.com/coreos/cargo-vendor-filterer [workspace.metadata.vendor-filter] -platforms = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "s390x-unknown-linux-gnu"] +# For now we only care about tier 1+2 Linux. (In practice, it's unlikely there is a tier3-only Linux dependency) +platforms = ["*-unknown-linux-gnu"] +tier = "2" all-features = true exclude-crate-paths = [ { name = "libz-sys", exclude = "src/zlib" }, { name = "libz-sys", exclude = "src/zlib-ng" },