Skip to content

Extra arguments message with sqlx prepare #637

Open
@eweb101

Description

@eweb101

I'm getting an error message when running cargo sqlx prepare saying extra arguments to rustc can only be passed to one target. Create database and migrate both work with Postgres, but I can't passed the error when running prepare.

Any ideas on what is causing the error?

$ cargo sqlx prepare
error: extra arguments to rustc can only be passed to one target, consider filtering
the package by passing, e.g., --lib or --bin NAME to specify a single target
error: cargo check failed with status: exit code: 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions