build.rs: skip "expensive_tests", not a crate

This commit is contained in:
Daniel Hofstetter 2024-07-01 09:42:17 +02:00 committed by Ben Wiederhake
parent 4183977c93
commit 1a1490ea59

View file

@ -29,8 +29,8 @@ pub fn main() {
#[allow(clippy::match_same_arms)]
match krate.as_ref() {
"default" | "macos" | "unix" | "windows" | "selinux" | "zip" => continue, // common/standard feature names
"nightly" | "test_unimplemented" => continue, // crate-local custom features
"uudoc" => continue, // is not a utility
"nightly" | "test_unimplemented" | "expensive_tests" => continue, // crate-local custom features
"uudoc" => continue, // is not a utility
"test" => continue, // over-ridden with 'uu_test' to avoid collision with rust core crate 'test'
s if s.starts_with(FEATURE_PREFIX) => continue, // crate feature sets
_ => {} // util feature name