DefGuard / DefGuard/client

`cargo sqlx prepare` removes a Windows only query cache

Aperta
#487 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
369
Fork
39
Merge medio
23h 22m
PR unite (30g)
34

Descrizione

When updating the sqlx query cache for CI we usually just run `cargo sqlx prepare -- --all-targets --all-features --tests`.
This should in theory find all the queries for all platforms but for whatever reason it removes cache for a query in `Location::all()` method, which is Windows-only.

As a workaround one can explicitly target the Windows platform, but this in turn removes some other unrelated non-Windows queries, so some manual intervention is required.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.