You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running, cargo sqlx prepare --workspace -- --all-targets --all-features --tests, or cargo sqlx prepare --workspace -- --all-targets --all-features, on the root of a workspace, doesn't prepare the queries in integration tests (tests directory) of the workspace members. The workspace itself is also a binary crate.
If I run the same thing inside a specific crate, it works fine.
EDIT: If the workspace root isn't also a crate, it works fine.
Minimal Reproduction
^^^^
Info
SQLx version: sqlx-cli-sqlx 0.7.4
SQLx features enabled: [REQUIRED]
Database server and version: Postgres
Operating system: Linux
rustc --version: 1.78.0
The text was updated successfully, but these errors were encountered:
Bug Description
Running,
cargo sqlx prepare --workspace -- --all-targets --all-features --tests
, orcargo sqlx prepare --workspace -- --all-targets --all-features
, on the root of a workspace, doesn't prepare the queries in integration tests (tests
directory) of the workspace members. The workspace itself is also a binary crate.If I run the same thing inside a specific crate, it works fine.
EDIT: If the workspace root isn't also a crate, it works fine.
Minimal Reproduction
^^^^
Info
rustc --version
: 1.78.0The text was updated successfully, but these errors were encountered: