-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
C-bugCategory: bugCategory: bug
Description
A user on Discord noted that there is no way to completely disable automatic target discovery. Example:
src/lib.rs
:
pub mod bin;
src/bin/mod.rs
:
// empty
Currently this fails because it thinks there is a bin target called mod
, regardless of whether autobins
is specified.
I'd like to propose that autobins=false
should disable autodiscovery, even if you don't specify any [[bin]]
targets.
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bug