Skip to content

cbuild warns about #[cfg(test)] #451

Description

@cryptomilk

If I run cargo cbuild I get:

warning: unexpected `cfg` condition name: `test`                       
   --> src/group_record.rs:236:7
    |                                                                                        
236 | #[cfg(test)]
    |       ^^^^
    |

How can I get rid of that warning with cbuild? I have a library and unit tests are implemented in the rust files itself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions