Skip to content

Commit

Permalink
build-sys: Filter to tier 2 Linux declaratively
Browse files Browse the repository at this point in the history
Newer cargo-vendor-filterer allows us to avoid enumerating the
full matrix of (architecture, gnu|musl) here.
  • Loading branch information
cgwalters committed Sep 28, 2023
1 parent 02c578a commit dbf1f88
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ exclude = ["/.cirrus.yml", "/.github/*", "/hack/*"]
build = "build.rs"

[package.metadata.vendor-filter]
# This list is not exhaustive.
platforms = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu",
"s390x-unknown-linux-gnu", "riscv64gc-unknown-linux-gnu",
"x86_64-unknown-linux-musl", "aarch64-unknown-linux-musl",
]
platforms = ["*-unknown-linux-*"]
tier = "2"

[[bin]]
name = "netavark"
Expand Down

0 comments on commit dbf1f88

Please sign in to comment.