So? The harness itself does not have a separate Cargo.toml. the post-build.dependencies section gives it the semblance of one.
no_main has a subtler implication, “compile this as a binary crate but do not include a main”. If you just omit main and plan to link it in rustc will not compile it; you have to either specify main or specify no_main, you cannot compile binary crates otherwise.
This is better. But again, I feel that focusing on the fact that test does do a normal build is irrelevant, because that’s an implementation details, not how we want things to be modelled by people.
A file with the same name.
Hmm. I’d rather make subfolders work but I guess this is the path of least resistance for that. I’ll re add when I get back.
I guess. I’d rather have something like “specify-single-target”