jyn
jyn
For anyone else confused why an ELF file writer is making network calls: TLS stands for [thread-local storage](https://stackoverflow.com/a/6088009/7669110)
> I wonder if there are use-cases where this could become a problem You could always `mem::forget` the Mock if you didn't actually want to run the assert. I don't...
I had this happen when I tried to launch multiple processes of GroupMe at the same time, not sure why it would happen with only one process
This breaks deref coercion. Here's an example for https://github.com/launchbadge/sqlx/blob/e575501a399be47864fcd5120ddd0df00ed1d9bc/sqlx-core/src/postgres/listener.rs#L117-L130 ``` error[E0382]: use of moved value: `connection` --> sqlx-core/src/postgres/listener.rs:126:36 | 119 | let mut connection = self.pool.acquire().await?; | -------------- move occurs...
Another (related?) issue: sqlx thinks this is an `Option`, not an `i32`. ```rust query!( "INSERT INTO doc_coverage (release_id, total_items, documented_items) VALUES ($1, $2, $3) ON CONFLICT (release_id) DO UPDATE SET...
``` cratesfyi=# explain verbose SELECT COUNT(*) FROM crates; QUERY PLAN --------------------------------------------------------------------- Aggregate (cost=10.88..10.88 rows=1 width=8) Output: count(*) -> Seq Scan on public.crates (cost=0.00..10.70 rows=70 width=0) (3 rows) cratesfyi=# explain verbose...
> We could fix this on our side by running cargo rustc --lib then one for each binary target we find in cargo metadata. In the meantime, is there a...
The hack I came up with was to use ```sh cargo sqlx prepare -- --lib mv sqlx-data.json sqlx-data.lib.json cargo sqlx prepare --bin cat sql-data.lib.json sql-data.json | sponge sql-data.json ``` and...
CI is failing because it's still building on linux even though I told it not to, I think because it's using the CI file from the 0.3 branch instead of...
@retep998 what are your thoughts on this? I'm ok with closing it if you don't want it, but I do think it's a good change.