bors[bot] 7e012ae8b5
Merge #5893
5893: Allow running a test as a binary r=matklad a=jonas-schievink

If a test uses `harness = false`, it just contains an `fn main` that is executed via `cargo test`. This adds support for that.

Note though that Cargo doesn't actually tell us whether `harness = false`, so this hint will always show up when you put an `fn main` into an integration test. Normally people shouldn't be doing that if they do use the harness though.

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
2020-08-26 17:41:45 +00:00
..
2020-08-24 13:29:10 +02:00
2020-08-24 22:02:55 +02:00
2020-08-26 18:36:16 +02:00
2020-08-25 17:22:23 +02:00
2020-08-24 11:10:41 +02:00
2020-08-25 17:22:23 +02:00