mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-27 02:58:55 +00:00
Pass SQLX_OFFLINE=false to rustc in prepare
Without this, `cargo sqlx prepare` is just an expensive no-op and `cargo sqlx prepare --check` checks `sqlx-data.json` against itself.
This commit is contained in:
parent
f45f9ae8ed
commit
139704f264
@ -104,6 +104,7 @@ fn run_prepare_step(cargo_args: Vec<String>) -> anyhow::Result<QueryData> {
|
||||
"__sqlx_recompile_trigger=\"{}\"",
|
||||
SystemTime::UNIX_EPOCH.elapsed()?.as_millis()
|
||||
))
|
||||
.env("SQLX_OFFLINE", "false")
|
||||
.status()?;
|
||||
|
||||
if !check_status.success() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user