mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
18 lines
268 B
Rust
18 lines
268 B
Rust
#[feature(macro_rules)];
|
|
#[allow(deprecated_owned_vector)];
|
|
|
|
extern crate cargo;
|
|
|
|
macro_rules! test(
|
|
($name:ident $expr:expr) => (
|
|
#[test]
|
|
fn $name() {
|
|
setup();
|
|
$expr;
|
|
}
|
|
)
|
|
)
|
|
|
|
mod support;
|
|
mod test_cargo_compile;
|