Comments (5)
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
rustup-init --default-toolchain nightly -y
.
from postgres_lsp.
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.
from postgres_lsp.
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 rustup-init
says command not found
rustup
is a command but not rustup-init
from postgres_lsp.
hey @nicoabie, can you check if cargo
or rustc
are available on your system? I have installed rustup
with homebrew and it works fine - maybe you need some additional setup when installing it via curl
.
from postgres_lsp.
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
https://www.rust-lang.org/learn/get-started
The website does not tell you to use homebrew.
Probably the homebrew formula is old and has the deprecated rustup-init command
from postgres_lsp.
Related Issues (20)
- config fails on neovim
- `parser_codegen!()` panics
- Hover
- Inlay Hints
- Lint
- Upstream pg_query extensions
- Add the postgres version to the schema cache HOT 1
- Type Resolver
- Improve Statement Splitter HOT 1
- Roadmap
- Autocomplete
- cargo xtask install command is not working HOT 2
- drop `logos`
- 🚧 Help finish the parser HOT 5
- Add `SiblingToken`s back to the parser
- Statement parser does not recognise some statements
- Cannot find * in crate::codegen HOT 1
- add snapshots test back to `parser` HOT 6
- [Bug] Initial build for development is failing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgres_lsp.