deplinenoise / tundra

Tundra is a code build system that tries to be accurate and fast for incremental builds
MIT License
438 stars 75 forks source link

This adds Rust support to Tundra #273

Closed emoon closed 8 years ago

emoon commented 8 years ago

The following changes has been made:

deplinenoise commented 8 years ago

Did you feel this was the wrong approach? I hadn't gotten around to reviewing the code yet.

emoon commented 8 years ago

No, I think the approach is correct and the PR work as expected and I use this in some projects already. I want to add another thing which is related to how on does (unit) testing with Rust and Cargo. The way it works pretty much is that if one can write something like this

#[test]
fn foo() {
   assert!(...);
}

This code is only executed when do cargo test on a project which is targeted at testing and there is a similar thing for benchmarks which has a #[bench] attribute to the function.

I would like to add support for that also but I really don't know how to do it but the changes as they are could be merged as is and this support could be added later.