You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also encountered a similar problem. I just found out that sqlx does not support the build flag "-flto=auto" (Link Time Optimization, LTO) which is enabled by default by the Arch Linux package build system (makepkg tool). It's necessary to disable this compile flag during the build of sqlx by adding the build configuration "options=('!lto')" to the PKGBUILD script for the package. Once this is done, the package builds normally, without errors. This was noticed by an Arch Linux developer who used the same option to disable "LTO" in the PKGBUILD for sqlx-cli linked from the Arch Linux GitLab, in the description of the problem mentioned above.
Bug Description
A clear and concise description of what the bug is.
I compile the toeverything/AFFiNE#6280 and face the issue compiling sqlx
Minimal Reproduction
A small code snippet or a link to a Github repo or Gist, with instructions on reproducing the bug.
Info
rustc --version
:The text was updated successfully, but these errors were encountered: