aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_test
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-26 18:41:45 +0100
committerGitHub <[email protected]>2020-08-26 18:41:45 +0100
commit7e012ae8b54705bc254154cdff3a503cce3299a7 (patch)
treec1105a002b0e866bbd397188841f46243b336b6d /crates/proc_macro_test
parent3d6c4c143b4b4c74810318eca1b5493e43535fff (diff)
parent964219f0be87d189e13dd63a6ffc4d9d53eafbb4 (diff)
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 <[email protected]>
Diffstat (limited to 'crates/proc_macro_test')
0 files changed, 0 insertions, 0 deletions