Skip to content

rustpkg: building a lib.rs expects a main() function #8290

Closed
@kud1ing

Description

@kud1ing
  • I have a src/sqlite/lib.rs containing a #[crate_type = "lib"];
  • A rustpkg build sqlite in src's parent directory gives error: main function not found.

Am i missing something or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions