Add run-tests command

This commit is contained in:
hkalbasi 2023-06-22 19:33:37 +03:30
parent f0e00ed599
commit 674cd5ab57
8 changed files with 166 additions and 36 deletions

View file

@ -272,6 +272,18 @@ impl Attrs {
self.by_key("proc_macro_derive").exists()
}
pub fn is_test(&self) -> bool {
self.by_key("test").exists()
}
pub fn is_ignore(&self) -> bool {
self.by_key("ignore").exists()
}
pub fn is_bench(&self) -> bool {
self.by_key("bench").exists()
}
pub fn is_unstable(&self) -> bool {
self.by_key("unstable").exists()
}