Skip to content

Commit 0513462

Browse files
committed
fix(sqlx-cli): do not clean sqlx during prepare
1 parent e80291b commit 0513462

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlx-cli/src/prepare.rs

+2
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ fn minimal_project_recompile_action(metadata: &Metadata) -> ProjectRecompileActi
312312
.package(id)
313313
.map(|package| package.name().to_owned())
314314
})
315+
// Do not clean sqlx, it depends on sqlx-macros but has no queries to prepare itself.
316+
.filter(|name| name != "sqlx")
315317
.collect();
316318

317319
ProjectRecompileAction {

0 commit comments

Comments
 (0)