Update macrotest to 1.0.9 and enable in CI

This commit is contained in:
David Tolnay
2022-06-20 02:54:50 -07:00
parent 227bf3023a
commit bac90d19b9
14 changed files with 941 additions and 673 deletions
+1 -5
View File
@@ -18,12 +18,8 @@ fn has_cargo_expand() -> bool {
.unwrap_or(false)
}
fn has_rustfmt() -> bool {
toolchain_find::find_installed_component("rustfmt").is_some()
}
fn main() {
if cfg!(feature = "expandtest") && has_cargo_expand() && has_rustfmt() {
if cfg!(feature = "expandtest") && has_cargo_expand() {
println!("cargo:rustc-cfg=expandtest");
}
}