Skip to content

Instantly share code, notes, and snippets.

@DavidEichmann
DavidEichmann / hadrian.settings
Last active October 22, 2021 21:01 — forked from mpickering/hadrian.settings
Backport instructions
stage1.*.ghc.hs.opts += -finfo-table-map -fdistinct-constructor-tables
stage1.ghc-bin.ghc.link.opts += -eventlog
@DavidEichmann
DavidEichmann / gist:51f561263a65fef886cc77dad2d48226
Created August 25, 2023 16:23
PostgresML (44c9d7e5c2db6d60ca17b343ce7f3e5620f14bdd) dashboard build error
~/postgresml/pgml-dashboard$ rustc --version
rustc 1.72.0 (5680fa18f 2023-08-23)
~/postgresml/pgml-dashboard$ cargo run
Compiling pgml-dashboard v2.7.6 (/home/postgres/postgresml/pgml-dashboard)
error[E0308]: mismatched types
--> src/models.rs:490:12
|
490 | Ok(sqlx::query_as!(
| ____________^