mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-27 21:37:55 +00:00
Exclude expansion tests from test suite by default
This test isn't high enough signal to have all contributors run it.
This commit is contained in:
@@ -7,6 +7,7 @@ publish = false
|
||||
build = "build.rs"
|
||||
|
||||
[features]
|
||||
expandtest = []
|
||||
unstable = ["serde/unstable"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ fn has_rustfmt() -> bool {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
if has_cargo_expand() && has_rustfmt() {
|
||||
if cfg!(feature = "expandtest") && has_cargo_expand() && has_rustfmt() {
|
||||
println!("cargo:rustc-cfg=expandtest");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user