-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project fails to build on macOS Sonoma 14.1.1 (arm64) #60
Comments
Reading more, I'm guessing this project requires the nightly Rust build for the time being and that's just how it is. Keyword is "guessing", hence why I'm not closing this issue yet. 😄 As for how to prevent newcomers from hitting this in the future, I did find docs about how to specify which Rust release channel to use for a project. |
Hey @Nezteb, thanks for opening the issue. You are right, we are currently using two nightly features of rust and thereby require the nightly channel to be used. It seems like I forgot to update the Readme. Will do so later. For now, first install rustup. You can then install nightly rust with |
This is very interesting. I installed rustup curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh I had no issues running the commands in the readme but if I try to run
|
hey @nicoabie, can you check if |
I have both cargo and rustc. The difference relies in that it seems you installed rustup with homebrew and I followed the instructions on the website The website does not tell you to use homebrew. Probably the homebrew formula is old and has the deprecated rustup-init command |
Bug report
FYI to the maintainers, the above bullet points for this issue template still reference Supabase directly, not
postgres_lsp
. 😄Describe the bug
I was trying to follow the "building from source" section of the docs:
git submodule update --init --recursive
and verified the submodule was populated correctly.cargo xtask install
but it eventually errored; see output below.I'm relatively unfamiliar with Rust and its tooling; I found an SO thread online but the suggested fix is to just install the nightly version of Rust/cargo? That feels odd to me, so I'll wait for maintainer feedback. 😅
System information
asdf
package manager with asdf-rust plugin❯ asdf plugin list --refs --urls ╭────┬────────────┬─────────────────────────────────────────────────────┬────────┬─────────╮ │ # │ name │ repository │ branch │ ref │ ├────┼────────────┼─────────────────────────────────────────────────────┼────────┼─────────┤ │ 0 │ nodejs │ https://github.com/asdf-vm/asdf-nodejs.git │ master │ 150ec5d │ │ 1 │ rust │ https://github.com/code-lever/asdf-rust.git │ master │ 95acf4f │ ╰────┴────────────┴─────────────────────────────────────────────────────┴────────┴─────────╯
Additional context
I ended up here because I was reminded about
postgres_lsp
from a related HN thread posted today.The text was updated successfully, but these errors were encountered: